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

Commit 779ce624 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't exclude system apps from disabling opt-out edge-to-edge" into main

parents 264c92d9 8fd407f4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -478,8 +478,6 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
    public static boolean isOptingOutEdgeToEdgeEnforcement(ApplicationInfo info, boolean local,
            TypedArray windowStyle) {
        final boolean disabled = Flags.disableOptOutEdgeToEdge()
                // TODO (b/377864165): Don't exclude system apps after they are ready.
                && !info.isSystemApp()
                && (local
                        // Calling this doesn't require a permission.
                        ? CompatChanges.isChangeEnabled(DISABLE_OPT_OUT_EDGE_TO_EDGE)