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

Commit 4c670a95 authored by Robin Lee's avatar Robin Lee Committed by Automerger Merge Worker
Browse files

Merge "Test Recents Transition sleep re-entry" into udc-dev am: 24dada83

parents 87d76fcb 24dada83
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ import android.window.TransitionRequestInfo;
import android.window.WindowContainerToken;
import android.window.WindowContainerTransaction;

import com.android.internal.annotations.VisibleForTesting;
import com.android.internal.protolog.common.ProtoLog;
import com.android.wm.shell.common.ShellExecutor;
import com.android.wm.shell.protolog.ShellProtoLogGroup;
@@ -97,7 +98,8 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
        mMixers.remove(mixer);
    }

    void startRecentsTransition(PendingIntent intent, Intent fillIn, Bundle options,
    @VisibleForTesting
    public IBinder startRecentsTransition(PendingIntent intent, Intent fillIn, Bundle options,
            IApplicationThread appThread, IRecentsAnimationRunner listener) {
        ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                "RecentsTransitionHandler.startRecentsTransition");
@@ -121,12 +123,13 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
        if (mixer != null) {
            mixer.setRecentsTransition(transition);
        }
        if (transition == null) {
            controller.cancel("startRecentsTransition");
            return;
        }
        if (transition != null) {
            controller.setTransition(transition);
            mControllers.add(controller);
        } else {
            controller.cancel("startRecentsTransition");
        }
        return transition;
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ android_test {
        "truth-prebuilt",
        "testables",
        "platform-test-annotations",
        "frameworks-base-testutils",
        "servicestests-utils",
    ],

    libs: [
Loading