summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/notification
diff options
context:
space:
mode:
authorlinyuh <linyuh@google.com>2018-03-26 16:29:10 -0700
committerCopybara-Service <copybara-piper@google.com>2018-03-26 22:27:44 -0700
commitbcf4f6b018f2311959ff203a547480d6940f6557 (patch)
treed59795aab9b843c704be8e172209f99d46e70c84 /java/com/android/dialer/notification
parentaef646dee7f4363f38166e9306075f759052c5df (diff)
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
Diffstat (limited to 'java/com/android/dialer/notification')
-rw-r--r--java/com/android/dialer/notification/NotificationThrottler.java2
1 files changed, 1 insertions, 1 deletions
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;