Merge "Cutout: Fix broken cutout rendering in landscape" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
26c25f0033
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user