diff options
Diffstat (limited to 'src/com/android/deskclock/NotificationUtils.java')
-rw-r--r-- | src/com/android/deskclock/NotificationUtils.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/deskclock/NotificationUtils.java b/src/com/android/deskclock/NotificationUtils.java index 3919ae7d3..7601c4208 100644 --- a/src/com/android/deskclock/NotificationUtils.java +++ b/src/com/android/deskclock/NotificationUtils.java @@ -103,10 +103,6 @@ public class NotificationUtils { } public static void createChannel(Context context, String id) { - if (!Utils.isOOrLater()) { - return; - } - if (!CHANNEL_PROPS.containsKey(id)) { Log.e(TAG, "Invalid channel requested: " + id); return; @@ -145,10 +141,6 @@ public class NotificationUtils { } public static void updateNotificationChannels(Context context) { - if (!Utils.isOOrLater()) { - return; - } - NotificationManagerCompat nm = NotificationManagerCompat.from(context); // These channels got a new behavior so we need to recreate them with new ids |