Merge "Fix continous crash in WindowManager in boot" into nyc-dev

This commit is contained in:
Jaewan Kim
2016-05-12 12:32:00 +00:00
committed by Android (Google) Code Review

View File

@@ -3957,7 +3957,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
if (!isKeyguardShowing) {
navTranslucent &= areTranslucentBarsAllowed();
}
boolean statusBarExpandedNotKeyguard = !isKeyguardShowing
boolean statusBarExpandedNotKeyguard = !isKeyguardShowing && mStatusBar != null
&& mStatusBar.getAttrs().height == MATCH_PARENT
&& mStatusBar.getAttrs().width == MATCH_PARENT;