Change the maximum number of notifications per tag from 10 to 8.
For grouped notifications, the system UI only displays the last 8.
Bug: 74132249
Test: NotificationThrottlerTest
PiperOrigin-RevId: 190544350
Change-Id: Idc52f4e98c1262bcb16a7a5052829b0a0faaacc6
diff --git a/java/com/android/dialer/notification/NotificationThrottler.java b/java/com/android/dialer/notification/NotificationThrottler.java
index 9db744d..329a084 100644
--- a/java/com/android/dialer/notification/NotificationThrottler.java
+++ b/java/com/android/dialer/notification/NotificationThrottler.java
@@ -41,7 +41,7 @@
* unbundled notifications, the system displays all notifications until a global maximum of 50 is
* reached.
*/
- private static final int MAX_NOTIFICATIONS_PER_TAG = 10;
+ private static final int MAX_NOTIFICATIONS_PER_TAG = 8;
private static final int HIGH_GLOBAL_NOTIFICATION_COUNT = 45;