diff options
author | Adrian Roos <roosa@google.com> | 2014-10-29 17:26:12 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2014-10-29 17:26:12 +0100 |
commit | 53f28eccc546504cb1e894c02176ecce3139264e (patch) | |
tree | 5260fcbfa3e2b8ba2df9ad7d556afd162b720dbc /policy/src | |
parent | 09895be87e327a7e2090c88cb4a5fc997f33103c (diff) | |
download | frameworks_base-53f28eccc546504cb1e894c02176ecce3139264e.zip frameworks_base-53f28eccc546504cb1e894c02176ecce3139264e.tar.gz frameworks_base-53f28eccc546504cb1e894c02176ecce3139264e.tar.bz2 |
Improve dump of status bar service
Tracks which window caused the disable flags
instead of just blaming PhoneWindowManager.
Bug: 17830264
Change-Id: If6c957120bb2ee8e0083f80e35c71eb21b8672b6
Diffstat (limited to 'policy/src')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 558cf56..12ff4f6 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -5730,7 +5730,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { private int updateSystemUiVisibilityLw() { // If there is no window focused, there will be nobody to handle the events // anyway, so just hang on in whatever state we're in until things settle down. - WindowState win = mFocusedWindow != null ? mFocusedWindow : mTopFullscreenOpaqueWindowState; + final WindowState win = mFocusedWindow != null ? mFocusedWindow + : mTopFullscreenOpaqueWindowState; if (win == null) { return 0; } @@ -5766,7 +5767,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { try { IStatusBarService statusbar = getStatusBarService(); if (statusbar != null) { - statusbar.setSystemUiVisibility(visibility, 0xffffffff); + statusbar.setSystemUiVisibility(visibility, 0xffffffff, win.toString()); statusbar.topAppWindowChanged(needsMenu); } } catch (RemoteException e) { |