From ae752763d0ac9b3de5e4061482e61f5ef5db60df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Fri, 21 Feb 2020 22:57:21 -0500 Subject: [PATCH] notifications: cleanup Change-Id: Ib5d415f4e619ce22b998deb03222d7b6d5439238 --- .../main/java/cx/ring/services/NotificationServiceImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ring-android/app/src/main/java/cx/ring/services/NotificationServiceImpl.java b/ring-android/app/src/main/java/cx/ring/services/NotificationServiceImpl.java index f8b15f736..8156cf23c 100644 --- a/ring-android/app/src/main/java/cx/ring/services/NotificationServiceImpl.java +++ b/ring-android/app/src/main/java/cx/ring/services/NotificationServiceImpl.java @@ -83,7 +83,6 @@ import cx.ring.service.DRingService; import cx.ring.tv.call.TVCallActivity; import cx.ring.utils.ConversationPath; import cx.ring.utils.DeviceUtils; -import cx.ring.utils.FileUtils; import cx.ring.utils.ResourceMapper; import cx.ring.utils.Tuple; @@ -114,7 +113,6 @@ public class NotificationServiceImpl implements NotificationService { private static final int NOTIF_CALL_ID = 1001; - private final SparseArray<NotificationCompat.Builder> mNotificationBuilders = new SparseArray<>(); @Inject protected Context mContext; @@ -151,12 +149,10 @@ public class NotificationServiceImpl implements NotificationService { if (notificationManager == null) return; - notificationManager.deleteNotificationChannel(NOTIF_CHANNEL_MISSED_CALL_LEGACY); notificationManager.deleteNotificationChannel(NOTIF_CHANNEL_CALL_LEGACY); // Setting up groups - notificationManager.createNotificationChannelGroup(new NotificationChannelGroup(NOTIF_CALL_GROUP, mContext.getString(R.string.notif_group_calls))); // Missed calls channel -- GitLab