Skip to content
Snippets Groups Projects
Commit ae752763 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

notifications: cleanup

Change-Id: Ib5d415f4e619ce22b998deb03222d7b6d5439238
parent 028498ea
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment