Add debug logs to AbsSwipeUpHandler
Investigating b/332386996 Flag: N/A Bug: 332386996 Test: TaplTestsQuickstep#testQuickSwitchFromApp Change-Id: Ic5245416df624b722819a3dcf1008ca0196d3161
This commit is contained in:
@@ -38,6 +38,8 @@ import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCH
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_OVERVIEW_GESTURE;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_QUICKSWITCH_LEFT;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_QUICKSWITCH_RIGHT;
|
||||
import static com.android.launcher3.testing.shared.TestProtocol.SUCCESSFUL_GESTURE_MISMATCH_EVENTS;
|
||||
import static com.android.launcher3.testing.shared.TestProtocol.testLogD;
|
||||
import static com.android.launcher3.util.Executors.MAIN_EXECUTOR;
|
||||
import static com.android.launcher3.util.Executors.UI_HELPER_EXECUTOR;
|
||||
import static com.android.launcher3.util.SystemUiController.UI_STATE_FULLSCREEN_TASK;
|
||||
@@ -1647,6 +1649,12 @@ public abstract class AbsSwipeUpHandler<T extends RecentsViewContainer,
|
||||
int taskToLaunch = mRecentsView.getNextPage();
|
||||
int runningTask = getLastAppearedTaskIndex();
|
||||
boolean hasStartedNewTask = hasStartedNewTask();
|
||||
testLogD(SUCCESSFUL_GESTURE_MISMATCH_EVENTS,
|
||||
"taskToLaunch=" + taskToLaunch);
|
||||
testLogD(SUCCESSFUL_GESTURE_MISMATCH_EVENTS,
|
||||
"runningTask=" + runningTask);
|
||||
testLogD(SUCCESSFUL_GESTURE_MISMATCH_EVENTS,
|
||||
"hasStartedNewTask=" + hasStartedNewTask);
|
||||
if (target == NEW_TASK && taskToLaunch == runningTask
|
||||
&& !hasStartedNewTask) {
|
||||
// We are about to launch the current running task, so use LAST_TASK
|
||||
|
||||
Reference in New Issue
Block a user