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

Commit 1b028287 authored by Adrian Roos's avatar Adrian Roos
Browse files

Display Cutout: invalidate overlay view when cutout changes

Fixes an issue where the emulation overlay did not
properly update when changing the cutout to a similarly
sized cutout.

Change-Id: Ie29829c08185b97b40c87b772fec452a01c0ef3a
Fixes: 74404788
Test: Select Narrow display cutout, then select Wide or Double cutout. Verify that the cutout properly changes.
parent f0927b07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -380,6 +380,7 @@ public class ScreenDecorations extends SystemUI implements Tunable {
                mBounds.set(mInfo.displayCutout.getBounds());
                localBounds(mBoundingRect);
                mInfo.displayCutout.getBounds().getBoundaryPath(mBoundingPath);
                invalidate();
                newVisible = VISIBLE;
            } else {
                newVisible = GONE;