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
commit270d62a2bdfdb392021952e83d30ed72a9e486b3 (patch)
treeba4d0253052b74732e6e7f456db7b0549fc01cdd
parent263dd2fac6f68566227051867f49f4ec2be1eff3 (diff)
parent28da7cced2d8592d4ea02235c6fe56b43fb9483b (diff)
downloadbase-270d62a2bdfdb392021952e83d30ed72a9e486b3.tar.gz
Merge changes from topic "presubmit-am-41f55ec06ce44b7aaf10c778037774c5-sc-dev" into sc-mainline-prod
* changes: [automerge] Lower per-app notificationchannel limit 2p: 36acdd6758 Lower per-app notificationchannel limit
-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;