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

Commit 3fd09321 authored by Tiger's avatar Tiger
Browse files

Set windowOptOutEdgeToEdgeEnforcement for ControlsActivity

This is a temporary solution to prevent the layout issue while
enabling the feature flag of the edge-to-edge enforcement.

We still need to make activity handle insets properly later.

Bug: 309578419
Bug: 330435386
Flag: Aconfig com.android.window.flags.enforce_edge_to_edge TRUNKFOOD
Test: 1. Enter the Lock screen
      2. Long press on the device control (home)
      3. Make sure the tool bar of ControlsActivity is not overlapped
         with status bar
Change-Id: I7d92f35ca7777a4a1a3d2c9354b2f83e5f2f5914
parent 69a62d57
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -987,6 +987,11 @@
        <!-- Setting a placeholder will avoid using the SystemUI icon on the splash screen -->
        <item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_blank</item>
        <item name="wallpaperTextColor">@*android:color/primary_text_material_dark</item>

        <!--
            TODO(b/309578419): Make the activity handle insets properly and then remove this.
        -->
        <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
    </style>

    <style name="Theme.VolumePanelActivity" parent="@android:style/Theme.DeviceDefault.DayNight">