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

Commit 5c5d1781 authored by Tiger's avatar Tiger
Browse files

Make EasterEgg go edge-to-edge by changing the cutout mode

This CL changes the cutout mode of com.android.egg/.paint.PaintActivity
from shortEdges to always. Without changing this, the process will crash
when the edge-to-edge policy is enforced.

Bug: 309578419
Test: Run `adb shell am start -n com.android.egg/.paint.PaintActivity`
      and see if PaintActivity can be launched as expected.
Change-Id: I28a4c69defbddb45e7a5da5d0f16452bc1df75ce
parent 260d9c9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
-->
<resources>
    <style name="AppTheme" parent="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen">
        <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
        <item name="android:windowLayoutInDisplayCutoutMode">always</item>
        <item name="android:windowLightNavigationBar">false</item>
    </style>
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
<resources>

    <style name="AppTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen">
        <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
        <item name="android:windowLayoutInDisplayCutoutMode">always</item>
        <item name="android:windowLightNavigationBar">true</item>
    </style>