Merge "Even further increase FORCE_PAUSE_TIMEOUT in tests" into sc-v2-dev am: 69f2dc2b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517680 Change-Id: Id7a0758d1a81eccc438b3d4f943afc6172f9a296
This commit is contained in:
@@ -80,6 +80,7 @@ import java.util.Collections;
|
||||
import java.util.Deque;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.Function;
|
||||
@@ -96,7 +97,7 @@ public final class LauncherInstrumentation {
|
||||
private static final String TAG = "Tapl";
|
||||
private static final int ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME = 20;
|
||||
private static final int GESTURE_STEP_MS = 16;
|
||||
private static final long FORCE_PAUSE_TIMEOUT_MS = 700;
|
||||
private static final long FORCE_PAUSE_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(2);
|
||||
|
||||
static final Pattern EVENT_TOUCH_DOWN = getTouchEventPattern("ACTION_DOWN");
|
||||
static final Pattern EVENT_TOUCH_UP = getTouchEventPattern("ACTION_UP");
|
||||
|
||||
Reference in New Issue
Block a user