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

Commit 5c3c9e2d authored by Adrian Roos's avatar Adrian Roos
Browse files

DisplayCutout: Add back always resource

Temporarily adds back "always" value for layoutInDisplayCutoutMode
until all usages have been migrated to "shortEdges".

Bug: 74983661
Test: make droid
Change-Id: I27189d17129a8dd6e5e9ac3aaf997967df21e8ef
parent 51d2cc45
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2151,6 +2151,9 @@
            @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
            -->
            <enum name="shortEdges" value="1" />
            <!-- Use {@code shortEdges} instead. This is temporarily here to unblock pushing the SDK
                 until all usages have been migrated to {@code shortEdges} -->
            <enum name="always" value="1" />
            <!-- The window is never allowed to overlap with the DisplayCutout area.
            <p>
            This should be used with windows that transiently set {@code SYSTEM_UI_FLAG_FULLSCREEN}