Update status bar height to center the hole punch cutout am: b0dabc8ab3 am: 97185c7b13

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/20194790

Change-Id: Ife7224f1c015e7fa59b7961f9bbfac13e463f212
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Shawn Lin 2022-10-27 07:42:50 +00:00 committed by Automerger Merge Worker
commit f25453deae
2 changed files with 8 additions and 8 deletions

View file

@ -80,9 +80,9 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 492,0
h 124
v 118
h -124
h 118
v 128
h -118
Z
@left
</string>
@ -94,7 +94,7 @@
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height_height_default">74px</dimen>
<dimen name="status_bar_height_portrait">118px</dimen>
<dimen name="status_bar_height_portrait">128px</dimen>
<dimen name="status_bar_height_landscape">74px</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->

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-->