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

Commit f8576346 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Notify the remote animation runner if a remote transition is consumed" into main

parents 0012d539 6258a192
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -245,6 +245,17 @@ public abstract class RemoteAnimationRunnerCompat extends IRemoteAnimationRunner
                runner.onAnimationCancelled();
                finishRunnable.run();
            }

            @Override
            public void onTransitionConsumed(IBinder transition, boolean aborted)
                    throws RemoteException {
                // Notify the remote runner that the transition has been canceled if the transition
                // was merged into another transition or aborted
                synchronized (mFinishRunnables) {
                    mFinishRunnables.remove(transition);
                }
                runner.onAnimationCancelled();
            }
        };
    }