summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2018-04-16 15:20:04 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-04-16 15:20:04 +0000
commit26c25f0033c73d1185b85979c2712647699ca956 (patch)
treee2f5cebcbc3b48babfa7a4de22da3c4eb7d0890c
parent8ef1cb9d1072b3e1b34eb471817495ce78a05a8b (diff)
parenta99f5d6449e0f595c76767812a5a698ebd3b831e (diff)
Merge "Cutout: Fix broken cutout rendering in landscape" into pi-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/ScreenDecorations.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java
index 7042d22497e6..72f6cdcfc78b 100644
--- a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java
+++ b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java
@@ -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);