Update status bar height to center the hole punch cutout
Bug: 253071694 Test: make Change-Id: I036eff89d66fd93a7dba13408d920b726bf644bd
This commit is contained in:
@@ -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. -->
|
||||
|
||||
@@ -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-->
|
||||
|
||||
Reference in New Issue
Block a user