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

Commit 48dca340 authored by Beverly's avatar Beverly Committed by android-build-merger
Browse files

Merge "On configuration change setup screen decorations" into pi-dev am: 10908b19

am: 2a4ce943

Change-Id: I298223a3e5712b91fa6105aa44fb35996d637f65
parents 1033fb34 2a4ce943
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -196,6 +196,9 @@ public class ScreenDecorations extends SystemUI implements Tunable {
    @Override
    protected void onConfigurationChanged(Configuration newConfig) {
        updateOrientation();
        if (shouldDrawCutout() && mOverlay == null) {
            setupDecorations();
        }
    }

    protected void updateOrientation() {
@@ -207,10 +210,6 @@ public class ScreenDecorations extends SystemUI implements Tunable {
                updateLayoutParams();
                updateViews();
            }

            if (shouldDrawCutout() && mOverlay == null) {
                setupDecorations();
            }
        }
    }