diff options
| -rw-r--r-- | services/core/java/com/android/server/notification/RankingHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/notification/RankingHelper.java b/services/core/java/com/android/server/notification/RankingHelper.java index 73afaa089dd4..65aaee0f8ce8 100644 --- a/services/core/java/com/android/server/notification/RankingHelper.java +++ b/services/core/java/com/android/server/notification/RankingHelper.java @@ -282,7 +282,7 @@ public class RankingHelper implements RankingConfig { for (int i = 0; i < size; i++) { final NotificationChannel notificationChannel = r.channels.valueAt(i); if (notificationChannel != null && - notificationChannel.getId() != NotificationChannel.DEFAULT_CHANNEL_ID) { + !notificationChannel.getId().equals(NotificationChannel.DEFAULT_CHANNEL_ID)) { hasCreatedAChannel = true; break; } |