We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62bb0cd commit 9c00d5bCopy full SHA for 9c00d5b
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -2180,7 +2180,17 @@ public int finishAnimationLw() {
2180
if (topIsFullscreen) {
2181
if (mStatusBarCanHide) {
2182
if (DEBUG_LAYOUT) Log.v(TAG, "Hiding status bar");
2183
- if (mStatusBar.hideLw(true)) changes |= FINISH_LAYOUT_REDO_LAYOUT;
+ if (mStatusBar.hideLw(true)) {
2184
+ changes |= FINISH_LAYOUT_REDO_LAYOUT;
2185
+
2186
+ mHandler.post(new Runnable() { public void run() {
2187
+ if (mStatusBarService != null) {
2188
+ try {
2189
+ mStatusBarService.collapse();
2190
+ } catch (RemoteException ex) {}
2191
+ }
2192
+ }});
2193
2194
} else if (localLOGV) {
2195
Log.v(TAG, "Preventing status bar from hiding by policy");
2196
}
0 commit comments