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

Commit 03f1ab03 authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "Cutout: Fix broken cutout rendering in landscape" into pi-dev am: 26c25f00

am: d84dad6e

Change-Id: Iac830e536f3beef53d26d44789afbe173e35ba3b
parents c911b350 d84dad6e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -421,7 +421,7 @@ public class ScreenDecorations extends SystemUI implements Tunable {
            int dw = flipped ? lh : lw;
            int dh = flipped ? lw : lh;

            mBoundingPath.set(DisplayCutout.pathFromResources(getResources(), lw, lh));
            mBoundingPath.set(DisplayCutout.pathFromResources(getResources(), dw, dh));
            Matrix m = new Matrix();
            transformPhysicalToLogicalCoordinates(mInfo.rotation, dw, dh, m);
            mBoundingPath.transform(m);