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

Commit 85e2ac41 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Use pending transaction for window animation of closing app" into main

parents cec8ad49 04314af0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4958,7 +4958,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
                new WindowAnimationSpec(anim, position, false /* canSkipFirstFrame */,
                        0 /* windowCornerRadius */),
                mWmService.mSurfaceAnimationRunner);
        final Transaction t = mActivityRecord != null
        final Transaction t = mActivityRecord != null && mActivityRecord.isVisibleRequested()
                ? getSyncTransaction() : getPendingTransaction();
        startAnimation(t, adapter);
        commitPendingTransaction();