umi: Fixed status bar glitch for apps that access internal resource dimen

Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
This commit is contained in:
shawnlin
2022-04-01 11:46:52 +08:00
committed by Yumi Yukimura
parent 4b1a4e8d92
commit 03e8a7cd6c

View File

@@ -21,7 +21,9 @@
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height">90px</dimen>
<dimen name="status_bar_height_default">90px</dimen>
<dimen name="status_bar_height_portrait">90px</dimen>
<dimen name="status_bar_height_landscape">90px</dimen>
<!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">110px</dimen>