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

Commit e0b84069 authored by Robin Lee's avatar Robin Lee Committed by Android (Google) Code Review
Browse files

Merge "Check for expired mergeTarget in mergeAnimation" into udc-qpr-dev

parents cfc06ceb abb7b411
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -186,9 +186,12 @@ public class RemoteTransitionHandler implements Transitions.TransitionHandler {
            @NonNull SurfaceControl.Transaction t, @NonNull IBinder mergeTarget,
            @NonNull Transitions.TransitionFinishCallback finishCallback) {
        final RemoteTransition remoteTransition = mRequestedRemotes.get(mergeTarget);
        final IRemoteTransition remote = remoteTransition.getRemoteTransition();
        if (remoteTransition == null) return;

        ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, "   Merge into remote: %s",
                remoteTransition);

        final IRemoteTransition remote = remoteTransition.getRemoteTransition();
        if (remote == null) return;

        IRemoteTransitionFinishedCallback cb = new IRemoteTransitionFinishedCallback.Stub() {