Fix continous crash in WindowManager in boot
Bug: 28728894 Change-Id: I660e2709a674eb4089dbb38173375491a87828db
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user