Update status bar height to center the hole punch cutout

Bug: 253071694
Test: make
Change-Id: I036eff89d66fd93a7dba13408d920b726bf644bd
This commit is contained in:
Shawn Lin 2022-10-17 17:25:03 +08:00
parent 117e758bf7
commit b0dabc8ab3
2 changed files with 8 additions and 8 deletions

View file

@ -34,9 +34,9 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 653,0
h 145
v 130
h -145
h 130
v 145
h -130
Z
@left
</string>
@ -194,7 +194,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">130px</dimen>
<dimen name="status_bar_height_portrait">145px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->