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

Commit 87c769a4 authored by Luca Zuccarini's avatar Luca Zuccarini
Browse files

Update the flag for the dialog launch flicker fix.

I used the wrong one the first time around oops.

Fix: 404508609
Flag: com.android.systemui.move_transition_animation_layer
Test: manually tested launches with various flag configurations
Change-Id: I545ecd1d34db2284413066e84e66f140777c98b2
parent e36a77d3
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.