summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2022-10-04 19:19:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-10-04 19:19:52 +0000
commit815880be2106269d35cfcc0d816d98f3f968f6a9 (patch)
tree187ad685b8e3b39a75d41a2e2e878e1024fae9cf
parente667a6bfe257c43fea345a9cb48ee1c86bbd36cc (diff)
parent36acdd675890296151b7a99e05fa7436d59a289b (diff)
downloadbase-815880be2106269d35cfcc0d816d98f3f968f6a9.tar.gz
Merge "Lower per-app notificationchannel limit" into sc-dev
-rw-r--r--services/core/java/com/android/server/notification/PreferencesHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/notification/PreferencesHelper.java b/services/core/java/com/android/server/notification/PreferencesHelper.java
index d5d5308015c7..c6cb3c0d2ab7 100644
--- a/services/core/java/com/android/server/notification/PreferencesHelper.java
+++ b/services/core/java/com/android/server/notification/PreferencesHelper.java
@@ -97,7 +97,7 @@ public class PreferencesHelper implements RankingConfig {
private static final String NON_BLOCKABLE_CHANNEL_DELIM = ":";
@VisibleForTesting
- static final int NOTIFICATION_CHANNEL_COUNT_LIMIT = 50000;
+ static final int NOTIFICATION_CHANNEL_COUNT_LIMIT = 5000;
private static final int NOTIFICATION_PREFERENCES_PULL_LIMIT = 1000;
private static final int NOTIFICATION_CHANNEL_PULL_LIMIT = 2000;