diff options
author | Adrian Roos <roosa@google.com> | 2014-11-03 14:56:47 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-11-03 14:56:48 +0000 |
commit | 862d72e2f4e600d6188f5a21a906d5374ab4f123 (patch) | |
tree | 74776909b1b02090f951993562dd7722d490094a /policy/src | |
parent | f3aa1c8d7915afd51d21bf79feb2285dffcc3827 (diff) | |
parent | 53f28eccc546504cb1e894c02176ecce3139264e (diff) | |
download | frameworks_base-862d72e2f4e600d6188f5a21a906d5374ab4f123.zip frameworks_base-862d72e2f4e600d6188f5a21a906d5374ab4f123.tar.gz frameworks_base-862d72e2f4e600d6188f5a21a906d5374ab4f123.tar.bz2 |
Merge "Improve dump of status bar service" into lmp-mr1-dev
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 1195ac8..bf5cdff 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -5920,7 +5920,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; } @@ -5956,7 +5957,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) { |