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

Commit 705b8eb0 authored by Winson Chung's avatar Winson Chung Committed by Automerger Merge Worker
Browse files

Merge "Always call finished when merging with an ongoing recents transition"...

Merge "Always call finished when merging with an ongoing recents transition" into udc-dev am: 1c9c183a am: edecbdfb

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22771137



Change-Id: I35abeb87625a77d91c68e83c978ad261cc1a9702
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b5790c9b edecbdfb
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
    public WindowContainerTransaction handleRequest(IBinder transition,
            TransitionRequestInfo request) {
        // do not directly handle requests. Only entry point should be via startRecentsTransition
        Slog.e(TAG, "RecentsTransitionHandler.handleRequest: Unexpected transition request");
        // TODO: Only log an error if the transition is a recents transition
        return null;
    }

@@ -618,7 +618,7 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
            t.apply();
            // not using the incoming anim-only surfaces
            info.releaseAnimSurfaces();
            if (appearedTargets == null) return;
            if (appearedTargets != null) {
                try {
                    ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                            "[%d] RecentsController.merge: calling onTasksAppeared", mInstanceId);
@@ -626,6 +626,7 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
                } catch (RemoteException e) {
                    Slog.e(TAG, "Error sending appeared tasks to recents animation", e);
                }
            }
            finishCallback.onTransitionFinished(null /* wct */, null /* wctCB */);
        }