Merge "Lower max concurrent notifications from an app" into qt-dev

This commit is contained in:
Julia Reynolds
2019-05-31 17:13:44 +00:00
committed by Android (Google) Code Review

View File

@@ -283,7 +283,7 @@ public class NotificationManagerService extends SystemService {
static final boolean DEBUG_INTERRUPTIVENESS = SystemProperties.getBoolean( static final boolean DEBUG_INTERRUPTIVENESS = SystemProperties.getBoolean(
"debug.notification.interruptiveness", false); "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; static final float DEFAULT_MAX_NOTIFICATION_ENQUEUE_RATE = 5f;
// message codes // message codes