From e6d30674de70b9ee387f3c3e7951b67d6123f2fd Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Tue, 25 Jul 2017 16:29:27 +0200 Subject: [PATCH] AOD: Make sure to update visibilities after instant expanding Fixes an issue where disable flags were not applied properly because they were not recomputed after expanding the PanelBar. Change-Id: I6933ba4951bf768a15a9d4f58728558939f106ae Fixes: 64001235 Test: Open camera, put to landscape, press power; Verify time and battery icon are not visible in transition. --- .../src/com/android/systemui/statusbar/phone/StatusBar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java index 75a27680287b1..4eda029e807c0 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java @@ -4710,6 +4710,7 @@ public class StatusBar extends SystemUI implements DemoMode, // Make our window larger and the panel expanded. makeExpandedVisible(true); mNotificationPanel.expand(false /* animate */); + recomputeDisableFlags(false /* animate */); } private void instantCollapseNotificationPanel() {