OSDN Git Service

AOD: Make sure to update visibilities after instant expanding
authorAdrian Roos <roosa@google.com>
Tue, 25 Jul 2017 14:29:27 +0000 (16:29 +0200)
committerAdrian Roos <roosa@google.com>
Thu, 27 Jul 2017 14:56:19 +0000 (14:56 +0000)
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.

packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java

index 75a2768..4eda029 100644 (file)
@@ -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() {