Merge "On configuration change setup screen decorations" into pi-dev
am: 10908b1972
Change-Id: I2857ad8c969543843821e64154df9d738c4368db
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user