Increase motion pause timeout for tests

- In cuttlefish occasionally MOTION_MOVE and MOTION_UP takes more than 300ms due to lag, increasing the motion pause timeout to avoid getting false signals in tests

Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0a33f34b5bf96f4f7ae56020c5a27f4ef9a0ff64
This commit is contained in:
Alex Chau
2021-08-03 19:31:01 +01:00
parent a67358bc8d
commit 0dfe56cff1
7 changed files with 32 additions and 11 deletions

View File

@@ -80,7 +80,7 @@ public class DebugTestInformationHandler extends TestInformationHandler {
}
@Override
public Bundle call(String method) {
public Bundle call(String method, String arg) {
final Bundle response = new Bundle();
switch (method) {
case TestProtocol.REQUEST_APP_LIST_FREEZE_FLAGS: {
@@ -161,7 +161,7 @@ public class DebugTestInformationHandler extends TestInformationHandler {
}
default:
return super.call(method);
return super.call(method, arg);
}
}
}