We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b5dfcb8 + 9c00d5b commit 2873917Copy full SHA for 2873917
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -2169,7 +2169,17 @@ public int finishAnimationLw() {
2169
if (topIsFullscreen) {
2170
if (mStatusBarCanHide) {
2171
if (DEBUG_LAYOUT) Log.v(TAG, "Hiding status bar");
2172
- if (mStatusBar.hideLw(true)) changes |= FINISH_LAYOUT_REDO_LAYOUT;
+ if (mStatusBar.hideLw(true)) {
2173
+ changes |= FINISH_LAYOUT_REDO_LAYOUT;
2174
+
2175
+ mHandler.post(new Runnable() { public void run() {
2176
+ if (mStatusBarService != null) {
2177
+ try {
2178
+ mStatusBarService.collapse();
2179
+ } catch (RemoteException ex) {}
2180
+ }
2181
+ }});
2182
2183
} else if (localLOGV) {
2184
Log.v(TAG, "Preventing status bar from hiding by policy");
2185
}
0 commit comments