diff options
author | 2025-03-31 13:43:55 -0700 | |
---|---|---|
committer | 2025-04-04 21:36:44 -0700 | |
commit | 7a38f5fdb0d4b2cc7318c7eb290db5f5838bb027 (patch) | |
tree | 98e84d7a5c433a368205ad6a79e58467c0ebd8de | |
parent | a5f7ff521d9e05a6a1b42eaf2ecee60ad0033ff5 (diff) |
Increase the threshold before starting to autogroup
Too many valid use cases are being autogrouped at the current threshold
Bug: 402725724
Test: GroupHelperTest
Test: NotificationManagerServiceTest
Test: NotificationManagerTest
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7024417f7fdccf36eac985fc4ca2ba12faa1fdcd)
Merged-In: I4a74a50325ba6f63351a13446871da01267bfec6
Change-Id: I4a74a50325ba6f63351a13446871da01267bfec6
-rw-r--r-- | services/core/java/com/android/server/notification/NotificationManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index cc5de3cc01ed..80a120ffbbc1 100644 --- a/services/core/java/com/android/server/notification/NotificationManagerService.java +++ b/services/core/java/com/android/server/notification/NotificationManagerService.java @@ -638,7 +638,7 @@ public class NotificationManagerService extends SystemService { static final long NOTIFICATION_MAX_AGE_AT_POST = Duration.ofDays(14).toMillis(); // Minium number of sparse groups for a package before autogrouping them - private static final int AUTOGROUP_SPARSE_GROUPS_AT_COUNT = 3; + private static final int AUTOGROUP_SPARSE_GROUPS_AT_COUNT = 6; private static final Duration ZEN_BROADCAST_DELAY = Duration.ofMillis(250); |