Fixed status bar glitch for apps that access internal resource dimen am: f94b464832 am: 963d0ac445

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

Change-Id: I5b6ac0f6ece8c301e3e8298a67ec999976e052c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
shawnlin 2022-04-12 02:58:10 +00:00 committed by Automerger Merge Worker
commit 032a040946
2 changed files with 6 additions and 2 deletions

View file

@ -29,7 +29,9 @@
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height">28dp</dimen>
<dimen name="status_bar_height_default">28dp</dimen>
<dimen name="status_bar_height_portrait">130px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
<dimen name="rounded_corner_radius_adjustment">5px</dimen>

View file

@ -29,7 +29,9 @@
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height">28dp</dimen>
<dimen name="status_bar_height_default">28dp</dimen>
<dimen name="status_bar_height_portrait">118px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
<dimen name="rounded_corner_radius_adjustment">5px</dimen>