Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96f3b6f0 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Fix NPE on first-ever boot if display has rotated.

Bug: 5116154
Change-Id: I8c91fa9eae24c6cb25f4431da00dc4b527124ae3
parent 27186556
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1873,7 +1873,7 @@ public class PhoneStatusBar extends StatusBar {
    }

    void updateExpandedSize() {
        if (mExpandedDialog != null) {
        if (mExpandedDialog != null && mExpandedParams != null) {
            mExpandedParams.width = mDisplaySize.x;
            mExpandedParams.height = getExpandedHeight(mDisplaySize.y);
            if (!mExpandedVisible) {