Fix another NPE.
Bug: 5122306 Change-Id: I6877528325d30bb725f8692c86a8752263b5344e
This commit is contained in:
@ -1873,7 +1873,7 @@ public class PhoneStatusBar extends StatusBar {
|
||||
}
|
||||
|
||||
void updateExpandedSize() {
|
||||
if (mExpandedDialog != null && mExpandedParams != null) {
|
||||
if (mExpandedDialog != null && mExpandedParams != null && mDisplaySize != null) {
|
||||
mExpandedParams.width = mDisplaySize.x;
|
||||
mExpandedParams.height = getExpandedHeight(mDisplaySize.y);
|
||||
if (!mExpandedVisible) {
|
||||
|
Reference in New Issue
Block a user