Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a38f5fd authored by Julia Reynolds's avatar Julia Reynolds Committed by Android Build Coastguard Worker
Browse files

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
parent a5f7ff52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);