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

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

Merge "Update the flag for the dialog launch flicker fix." into main

parents 00e56a25 87c769a4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.systemui.statusbar.phone;

import static com.android.systemui.Flags.spatialModelAppPushback;
import static com.android.systemui.Flags.moveTransitionAnimationLayer;

import android.app.AlertDialog;
import android.app.Dialog;
@@ -294,7 +294,7 @@ public class SystemUIDialog extends AlertDialog implements ViewRootImpl.ConfigCh
                        () -> targetView.getResources().getDisplayMetrics())
        );

        if (spatialModelAppPushback()) {
        if (moveTransitionAnimationLayer()) {
            // Elevation doesn't seem to be useful anymore (there are no more shadows below
            // dialogs), and it creates a weird flickering behavior due to some obscure Window
            // Manager treatment. See b/404508609#comment3 for more details.