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.
This commit is contained in:
Adrian Roos
2017-07-25 16:29:27 +02:00
parent aaf3860941
commit e6d30674de

View 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() {