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

Commit d84dad6e 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

Change-Id: I2e256085c93e9c5968477f715f4d0929e0e74f8f
parents 041acf45 26c25f00
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);