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

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

Merge "Use the correct Edge to Edge flag" into main

parents 24652df6 8d4ba6d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1385,7 +1385,7 @@ public final class Utils extends com.android.settingslib.Utils {
     * @param activity the Activity need to setup the edge to edge feature.
     */
    public static void setupEdgeToEdge(@NonNull FragmentActivity activity) {
        if (com.android.window.flags.Flags.edgeToEdgeByDefault()) {
        if (com.android.window.flags.Flags.enforceEdgeToEdge()) {
            ViewCompat.setOnApplyWindowInsetsListener(activity.findViewById(android.R.id.content),
                    (v, windowInsets) -> {
                        Insets insets = windowInsets.getInsets(