mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-15 02:44:23 -05:00
59bf3b75c7
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/353117 https://review.lineageos.org/q/topic:Q_asb_2023-03 https://review.lineageos.org/q/topic:Q_asb_2023-04 https://review.lineageos.org/q/topic:Q_asb_2023-05 https://review.lineageos.org/q/topic:Q_asb_2023-06 https://review.lineageos.org/q/topic:Q_asb_2023-07 https://review.lineageos.org/q/topic:Q_asb_2023-08 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376560 https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376561 https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376562 https://review.lineageos.org/q/topic:Q_asb_2023-09 https://review.lineageos.org/q/topic:Q_asb_2023-10 https://review.lineageos.org/q/topic:Q_asb_2023-11 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376563 accounted for via manifest change: https://review.lineageos.org/c/LineageOS/android_external_webp/+/376568 https://review.lineageos.org/q/topic:Q_asb_2023-12 https://review.lineageos.org/q/topic:Q_asb_2024-01 https://review.lineageos.org/q/topic:Q_asb_2024-02 https://review.lineageos.org/q/topic:Q_asb_2024-03 Signed-off-by: Tavi <tavi@divested.dev>
31 lines
1.6 KiB
Diff
31 lines
1.6 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Ioana Alexandru <aioana@google.com>
|
|
Date: Fri, 28 Apr 2023 14:11:04 +0000
|
|
Subject: [PATCH] DO NOT MERGE Increase notification channel limit.
|
|
|
|
This was previously reduced because it can cause an out of memory error or be abused to trigger a permanent denial of service, but it breaks some messages apps in Android 11, as they are creating too many channels. Rolling it back until the apps are fixed to reduce user impact.
|
|
|
|
Bug: 279447569
|
|
Bug: 261723753
|
|
Test: N/A, this was previously 50k
|
|
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5664378a7cac48184ec0702a41aaed0677d41136)
|
|
Merged-In: Id8da382f812d4abb8db723c40a61366a7402da4f
|
|
Change-Id: Id8da382f812d4abb8db723c40a61366a7402da4f
|
|
---
|
|
.../java/com/android/server/notification/PreferencesHelper.java | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/services/core/java/com/android/server/notification/PreferencesHelper.java b/services/core/java/com/android/server/notification/PreferencesHelper.java
|
|
index 1a3779f7c607..32d1e7e53b6b 100644
|
|
--- a/services/core/java/com/android/server/notification/PreferencesHelper.java
|
|
+++ b/services/core/java/com/android/server/notification/PreferencesHelper.java
|
|
@@ -73,7 +73,7 @@ public class PreferencesHelper implements RankingConfig {
|
|
private static final String NON_BLOCKABLE_CHANNEL_DELIM = ":";
|
|
|
|
@VisibleForTesting
|
|
- static final int NOTIFICATION_CHANNEL_COUNT_LIMIT = 5000;
|
|
+ static final int NOTIFICATION_CHANNEL_COUNT_LIMIT = 50000;
|
|
@VisibleForTesting
|
|
static final int NOTIFICATION_CHANNEL_GROUP_COUNT_LIMIT = 6000;
|
|
|