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

Commit 3e7b61b0 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Fix surface release race when using Shell Transitions" into sc-dev

parents 5caf5e66 2df75d38
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@ package com.android.quickstep;

import static android.view.WindowManager.LayoutParams.TYPE_NAVIGATION_BAR;

import static com.android.quickstep.TaskAnimationManager.ENABLE_SHELL_TRANSITIONS;

import com.android.systemui.shared.system.RemoteAnimationTargetCompat;

import java.util.ArrayList;
@@ -97,6 +99,10 @@ public class RemoteAnimationTargets {
    }

    public void release() {
        if (ENABLE_SHELL_TRANSITIONS) {
            mReleaseChecks.clear();
            return;
        }
        if (mReleased) {
            return;
        }