Merge "Revert "Changed alert window notifications to use single channel"" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-23 03:32:38 +00:00
committed by Android (Google) Code Review
3 changed files with 22 additions and 11 deletions

View File

@@ -47,7 +47,6 @@ public class SystemNotificationChannels {
public static String RETAIL_MODE = "RETAIL_MODE";
public static String USB = "USB";
public static String FOREGROUND_SERVICE = "FOREGROUND_SERVICE";
public static String ALERT_WINDOW = "ALERT_WINDOW";
public static void createAll(Context context) {
final NotificationManager nm = context.getSystemService(NotificationManager.class);
@@ -138,11 +137,6 @@ public class SystemNotificationChannels {
context.getString(R.string.notification_channel_foreground_service),
NotificationManager.IMPORTANCE_MIN));
channelsList.add(new NotificationChannel(
ALERT_WINDOW,
context.getString(R.string.alert_windows_notification_channel_name),
NotificationManager.IMPORTANCE_MIN));
nm.createNotificationChannels(channelsList);
}