Merge "Disallow transient status bar on the keyguard." into klp-dev

This commit is contained in:
John Spurlock
2013-11-12 01:28:40 +00:00
committed by Android (Google) Code Review

View File

@ -3468,6 +3468,11 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
// Maintain fullscreen layout until incoming animation is complete.
topIsFullscreen = mTopIsFullscreen && mStatusBar.isAnimatingLw();
// Transient status bar on the lockscreen is not allowed
if (mForceStatusBarFromKeyguard && mStatusBarController.isTransientShowing()) {
mStatusBarController.updateVisibilityLw(false /*transientAllowed*/,
mLastSystemUiFlags, mLastSystemUiFlags);
}
} else if (mTopFullscreenOpaqueWindowState != null) {
if (localLOGV) {
Slog.d(TAG, "frame: " + mTopFullscreenOpaqueWindowState.getFrameLw()