diff options
Diffstat (limited to 'src/com/android/deskclock/data/StopwatchNotificationBuilder.java')
-rw-r--r-- | src/com/android/deskclock/data/StopwatchNotificationBuilder.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/deskclock/data/StopwatchNotificationBuilder.java b/src/com/android/deskclock/data/StopwatchNotificationBuilder.java index d426b5c0b..799902645 100644 --- a/src/com/android/deskclock/data/StopwatchNotificationBuilder.java +++ b/src/com/android/deskclock/data/StopwatchNotificationBuilder.java @@ -137,11 +137,8 @@ class StopwatchNotificationBuilder { .setPriority(Notification.PRIORITY_LOW) .setSmallIcon(R.drawable.stat_notify_stopwatch) .setStyle(new NotificationCompat.DecoratedCustomViewStyle()) - .setColor(ContextCompat.getColor(context, R.color.default_background)); - - if (Utils.isNOrLater()) { - notification.setGroup(nm.getStopwatchNotificationGroupKey()); - } + .setColor(ContextCompat.getColor(context, R.color.default_background)) + .setGroup(nm.getStopwatchNotificationGroupKey()); for (Action action : actions) { notification.addAction(action); |