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

Commit 7ba4468d authored by Tiger's avatar Tiger
Browse files

Let activities of Telecomm opt out edge-to-edge

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.

Fix: 332663986
Bug: 309578419
Flag: com.android.window.flags.enforce_edge_to_edge
Test: Open settings of Phone, and open each sub-settings. Make sure
      there is no critical element obscured by the action bar.
Change-Id: I65540e67326b54427aece29c0611b34d4e196a01
parent bc9183bd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -23,6 +23,11 @@
        <item name="android:actionOverflowButtonStyle">@style/TelecomDialerSettingsActionOverflowButtonStyle</item>
        <item name="android:windowLightNavigationBar">true</item>
        <item name="android:windowContentOverlay">@null</item>

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

    <style name="Theme.Telecom.BlockedNumbers" parent="@android:style/Theme.DeviceDefault.Light">
@@ -31,6 +36,11 @@
        <item name="android:windowLightNavigationBar">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:listDivider">@null</item>

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

</resources>
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@
        <item name="android:navigationBarColor">@android:color/transparent</item>
        <item name="android:windowLightStatusBar">true</item>
        <item name="android:windowLightNavigationBar">true</item>

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

    <style name="Theme.Telecom.EnableAccount" parent="Theme.Telecom.DialerSettings">