Update status bar height to center the hole punch cutout

Bug: 253071694
Test: make
Change-Id: I16b512f61d3bf462992b04691eb7dfac40c91461
This commit is contained in:
Shawn Lin 2022-10-17 17:27:56 +08:00
parent 8a88005ee6
commit 28b77eb8d7
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 480,0
h 145
v 118
v 132
h -145
Z
@left

View file

@ -30,7 +30,7 @@
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height_default">28dp</dimen>
<dimen name="status_bar_height_portrait">118px</dimen>
<dimen name="status_bar_height_portrait">132px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->