diff --git a/res/values-v25/bools.xml b/res/values-v25/bools.xml deleted file mode 100644 index 6f7ecd91af..0000000000 --- a/res/values-v25/bools.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - true - \ No newline at end of file diff --git a/src/com/android/launcher3/notification/NotificationListener.java b/src/com/android/launcher3/notification/NotificationListener.java index 75a1b8ab50..cb37f08525 100644 --- a/src/com/android/launcher3/notification/NotificationListener.java +++ b/src/com/android/launcher3/notification/NotificationListener.java @@ -28,7 +28,6 @@ import android.support.v4.util.Pair; import android.text.TextUtils; import com.android.launcher3.LauncherModel; -import com.android.launcher3.Utilities; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.util.PackageUserKey; @@ -219,11 +218,9 @@ public class NotificationListener extends NotificationListenerService { } private boolean shouldBeFilteredOut(StatusBarNotification sbn) { - if (Utilities.isAtLeastO()) { - getCurrentRanking().getRanking(sbn.getKey(), mTempRanking); - if (!mTempRanking.canShowBadge()) { - return true; - } + getCurrentRanking().getRanking(sbn.getKey(), mTempRanking); + if (!mTempRanking.canShowBadge()) { + return true; } Notification notification = sbn.getNotification(); if (mTempRanking.getChannel().getId().equals(NotificationChannel.DEFAULT_CHANNEL_ID)) {