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

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

Change-Id: If7ae2cfd8e8ebaacf0154328c0fe5fa9b90d2355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
shawnlin 2022-04-07 13:59:35 +00:00 committed by Automerger Merge Worker
commit b355d1cd2e
2 changed files with 6 additions and 2 deletions

View file

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

View file

@ -198,7 +198,9 @@
<!-- Height of the status bar. <!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. 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">145px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- the number of the max cached processes in the system. --> <!-- the number of the max cached processes in the system. -->
<integer name="config_customizedMaxCachedProcesses">64</integer> <integer name="config_customizedMaxCachedProcesses">64</integer>