diff options
| author | 2022-05-24 02:30:28 +0000 | |
|---|---|---|
| committer | 2022-05-24 02:30:28 +0000 | |
| commit | 15cb562bcd7427c4ec8565d2d022db4e6c252264 (patch) | |
| tree | 2587bac0394034486b522f8ae54c7893a9ef616b /libs/WindowManager/Shell | |
| parent | c45a6dd61c18b15478e6df1bf4aeefc64de1828a (diff) | |
| parent | 0f7cc0128b9cf341eb3e0e657d4e6a416440ee53 (diff) | |
Merge "Replace DisplayManager.getStableDisplaySize with max Display.Mode" into tm-dev
Diffstat (limited to 'libs/WindowManager/Shell')
| -rw-r--r-- | libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayLayout.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayLayout.java b/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayLayout.java index fedb9983a65e..47f1e2e18255 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayLayout.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/common/DisplayLayout.java @@ -423,8 +423,8 @@ public class DisplayLayout { } final DisplayCutout.CutoutPathParserInfo info = cutout.getCutoutPathParserInfo(); final DisplayCutout.CutoutPathParserInfo newInfo = new DisplayCutout.CutoutPathParserInfo( - info.getDisplayWidth(), info.getDisplayHeight(), info.getStableDisplayWidth(), - info.getStableDisplayHeight(), info.getDensity(), info.getCutoutSpec(), rotation, + info.getDisplayWidth(), info.getDisplayHeight(), info.getPhysicalDisplayWidth(), + info.getPhysicalDisplayHeight(), info.getDensity(), info.getCutoutSpec(), rotation, info.getScale(), info.getPhysicalPixelDisplaySizeRatio()); return computeSafeInsets( DisplayCutout.constructDisplayCutout(newBounds, waterfallInsets, newInfo), |