From 6cae4a1a0e83fe330cbcd87bb0986b0d9f9c23b2 Mon Sep 17 00:00:00 2001 From: mjaruzel Date: Fri, 1 Oct 2021 10:55:31 +0200 Subject: [PATCH] rollback whitespace changes --- src/android/com/adobe/phonegap/push/FCMService.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/android/com/adobe/phonegap/push/FCMService.java b/src/android/com/adobe/phonegap/push/FCMService.java index 639ae925c..c4b03707e 100644 --- a/src/android/com/adobe/phonegap/push/FCMService.java +++ b/src/android/com/adobe/phonegap/push/FCMService.java @@ -1,7 +1,6 @@ package com.adobe.phonegap.push; import android.annotation.SuppressLint; -import android.app.Activity; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; @@ -10,7 +9,6 @@ import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; -import android.content.pm.PackageManager; import android.content.res.AssetManager; import android.content.res.Resources; import android.graphics.Bitmap; @@ -25,8 +23,6 @@ import android.net.Uri; import android.os.Build; import android.os.Bundle; -import android.os.Handler; -import android.os.Looper; import android.support.v4.app.NotificationCompat; import android.support.v4.app.NotificationCompat.WearableExtender; import android.support.v4.app.RemoteInput; @@ -41,31 +37,22 @@ import org.json.JSONException; import org.json.JSONObject; -import java.io.BufferedInputStream; -import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; -import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; -import java.security.cert.CertPathBuilder; -import java.security.cert.CertPathBuilderResult; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.security.SecureRandom; -import java.util.concurrent.Executors; -import java.util.concurrent.ScheduledThreadPoolExecutor; -import java.util.concurrent.TimeUnit; @SuppressLint("NewApi") public class FCMService extends FirebaseMessagingService implements PushConstants { private static final String LOG_TAG = "Push_FCMService"; private static HashMap> messageMap = new HashMap>(); - private int counter = 0; public void setNotification (int notId, String message) { ArrayList messageList = messageMap.get(notId);