Merge "Fix continous crash in WindowManager in boot" into nyc-dev am: 927b6be3d9
am: 1f7f01ec77
* commit '1f7f01ec777a4d1fc510dadb1d0f8acbb1d56003':
Fix continous crash in WindowManager in boot
Change-Id: I7572be9a42b89b87b87bcfc5205db6263d17a802
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