diff --git a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java index 2746a71e33168..e347a144dc9c6 100644 --- a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java +++ b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java @@ -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(); - } } }