Merge "Revert "Changed alert window notifications to use single channel"" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
540cb28c5a
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user