mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Desks: Let split-select and recents use a combined WCT
Flag: com.android.window.flags.enable_multiple_desktops_backend Bug: 409639676 Test: enter split from desktop handle menu, verify it enters split select Change-Id: Ib215ce9666fb4a07101ff32a78aebef0c8198749
This commit is contained in:
@@ -85,7 +85,8 @@ public class TaskAnimationManagerTest {
|
||||
final ArgumentCaptor<ActivityOptions> optionsCaptor =
|
||||
ArgumentCaptor.forClass(ActivityOptions.class);
|
||||
verify(mSystemUiProxy)
|
||||
.startRecentsActivity(any(), optionsCaptor.capture(), any(), anyBoolean());
|
||||
.startRecentsActivity(any(), optionsCaptor.capture(), any(), anyBoolean(),
|
||||
any());
|
||||
assertEquals(ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS,
|
||||
optionsCaptor.getValue().getPendingIntentBackgroundActivityStartMode());
|
||||
}
|
||||
@@ -117,7 +118,7 @@ public class TaskAnimationManagerTest {
|
||||
|
||||
doReturn(mock(LauncherActivityInterface.class)).when(gestureState).getContainerInterface();
|
||||
when(mSystemUiProxy
|
||||
.startRecentsActivity(any(), any(), listenerCaptor.capture(), anyBoolean()))
|
||||
.startRecentsActivity(any(), any(), listenerCaptor.capture(), anyBoolean(), any()))
|
||||
.thenReturn(true);
|
||||
when(gestureState.getRunningTaskIds(anyBoolean())).thenReturn(new int[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user