diff options
| author | 2022-01-27 13:14:28 -0600 | |
|---|---|---|
| committer | 2022-01-28 11:33:23 -0600 | |
| commit | e2ff1044a64c68b22c917b58561637682df66d8d (patch) | |
| tree | c514786718bd8cea99336546c523aef75cf88ce4 | |
| parent | 9a52b474d67c76c4d1c1bf59dd4e62b4cd2a3b3c (diff) | |
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
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationIconContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 febf2b5b5f24..ebfed1a689cf 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; |