From bcf4f6b018f2311959ff203a547480d6940f6557 Mon Sep 17 00:00:00 2001 From: linyuh Date: Mon, 26 Mar 2018 16:29:10 -0700 Subject: 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 --- java/com/android/dialer/notification/NotificationThrottler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/com/android/dialer/notification') diff --git a/java/com/android/dialer/notification/NotificationThrottler.java b/java/com/android/dialer/notification/NotificationThrottler.java index 9db744df6..329a084e8 100644 --- a/java/com/android/dialer/notification/NotificationThrottler.java +++ b/java/com/android/dialer/notification/NotificationThrottler.java @@ -41,7 +41,7 @@ import java.util.List; * 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; -- cgit v1.2.3