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

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

Merge "Only apply the task's pending transaction if it is detached"

parents ac73ea0c a1762666
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -996,7 +996,7 @@ public class RecentsAnimationController implements DeathRecipient {
                        .setWindowCrop(taskSurface, mFinishBounds.width(), mFinishBounds.height())
                        .apply();
                mFinishBounds.setEmpty();
            } else {
            } else if (!mTask.isAttached()) {
                // Apply the task's pending transaction in case it is detached and its transaction
                // is not reachable.
                mTask.getPendingTransaction().apply();