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

Commit 4d386e22 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add mock RecentTasksController to ShellTransitionTest" into main

parents 4e1caf7b 5a3876a8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -99,6 +99,7 @@ import com.android.wm.shell.common.DisplayController;
import com.android.wm.shell.common.DisplayLayout;
import com.android.wm.shell.common.ShellExecutor;
import com.android.wm.shell.common.TransactionPool;
import com.android.wm.shell.recents.RecentTasksController;
import com.android.wm.shell.recents.RecentsTransitionHandler;
import com.android.wm.shell.sysui.ShellController;
import com.android.wm.shell.sysui.ShellInit;
@@ -1061,7 +1062,8 @@ public class ShellTransitionTests extends ShellTestCase {
                        mTransactionPool, createTestDisplayController(), mMainExecutor,
                        mMainHandler, mAnimExecutor);
        final RecentsTransitionHandler recentsHandler =
                new RecentsTransitionHandler(shellInit, transitions, null);
                new RecentsTransitionHandler(shellInit, transitions,
                        mock(RecentTasksController.class));
        transitions.replaceDefaultHandlerForTest(mDefaultHandler);
        shellInit.init();