From 3e9bd48fea1d733e1cdb45de9e848b9d71afa916 Mon Sep 17 00:00:00 2001 From: Julia Reynolds Date: Fri, 31 May 2019 09:19:15 -0400 Subject: [PATCH] Lower max concurrent notifications from an app Test: boot device Fixes: 134072958 Change-Id: I083f2c0d034b0429a26abd93286dc2c8fcf59f26 --- .../android/server/notification/NotificationManagerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index c4eb661c55d89..8485f46aefd47 100644 --- a/services/core/java/com/android/server/notification/NotificationManagerService.java +++ b/services/core/java/com/android/server/notification/NotificationManagerService.java @@ -283,7 +283,7 @@ public class NotificationManagerService extends SystemService { static final boolean DEBUG_INTERRUPTIVENESS = SystemProperties.getBoolean( "debug.notification.interruptiveness", false); - static final int MAX_PACKAGE_NOTIFICATIONS = 50; + static final int MAX_PACKAGE_NOTIFICATIONS = 25; static final float DEFAULT_MAX_NOTIFICATION_ENQUEUE_RATE = 5f; // message codes