From e2ff1044a64c68b22c917b58561637682df66d8d Mon Sep 17 00:00:00 2001 From: Lyn Date: Thu, 27 Jan 2022 13:14:28 -0600 Subject: [PATCH] Set AOD icon max to 3 to match lockscreen short shelf Bug: 213480466 Test: have 5 notifications, press power button to show AOD => see 3 icons + 1 dot for overflow Change-Id: I8a983f76494e11c2f6e321c65a4079c9c9bfb6e0 --- .../systemui/statusbar/phone/NotificationIconContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationIconContainer.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationIconContainer.java index febf2b5b5f242..ebfed1a689cf9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationIconContainer.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationIconContainer.java @@ -135,7 +135,7 @@ public class NotificationIconContainer extends AlphaOptimizedFrameLayout { } }.setDuration(CONTENT_FADE_DURATION); - private static final int MAX_ICONS_ON_AOD = 5; + private static final int MAX_ICONS_ON_AOD = 3; public static final int MAX_ICONS_ON_LOCKSCREEN = 3; public static final int MAX_STATIC_ICONS = 4; private static final int MAX_DOTS = 1;