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

Commit 70c1330e 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 am:...

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

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



Change-Id: I2e0fa96d43cad2349341f6f26ef226d269d44e95
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 008b12a5 c6ea631d
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