Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01eeecb1 authored by shawnlin's avatar shawnlin
Browse files

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
parent 1e2a1e4c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -237,7 +237,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">145px</dimen>
    <dimen name="status_bar_height_landscape">28dp</dimen>

    <!-- Not allow to switch to higher refresh rate when display brightness setting is
         equal or less than this value -->