miatoll: overlay: 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: I44a5722d3dccf9c47916eb636def6a505eea480f
This commit is contained in:
shawnlin 2022-04-01 11:56:09 +08:00 committed by Alexander Winkowski
parent 2709e6da08
commit bbe5be0332
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44

View File

@ -13,7 +13,8 @@
--> -->
<resources> <resources>
<!-- Height of the status bar in portrait --> <!-- Height of the status bar in portrait -->
<dimen name="status_bar_height">126px</dimen> <dimen name="status_bar_height_default">126px</dimen>
<dimen name="status_bar_height_portrait">126px</dimen>
<!-- Height of the status bar in landscape --> <!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">24dp</dimen> <dimen name="status_bar_height_landscape">24dp</dimen>