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

Commit b594f7e0 authored by Chilun Huang's avatar Chilun Huang Committed by Android (Google) Code Review
Browse files

Merge "Apply transaction before calling onFinish" into udc-dev

parents 59bb5cc2 fb3c6286
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -193,6 +193,8 @@ class SplitScreenTransitions {
            mAnimatingTransition = transition;
            mFinishTransaction = finishTransaction;

            startTransaction.apply();

            final SplitDecorManager topDecor = mPendingDismiss.mDismissTop == STAGE_TYPE_MAIN
                    ? mainDecor : sideDecor;
            topDecor.fadeOutDecor(() -> {
@@ -200,8 +202,6 @@ class SplitScreenTransitions {
                    onFinish(null /* wct */, null /* wctCB */);
                });
            });

            startTransaction.apply();
        } else {
            playAnimation(transition, info, startTransaction, finishTransaction,
                    finishCallback, mainRoot, sideRoot, topRoot);