summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-05-29 14:10:28 -0700
committervadimt <vadimt@google.com>2019-05-29 14:10:28 -0700
commit17f9d57ac7ba0d53cd33f0f7a387f2c6f1248aac (patch)
tree3a909b1f32522331e314a8a5f802ba3addd4bab1 /tests
parent8ffa234955cae8d584bd5e416bed543c1664360f (diff)
downloadandroid_packages_apps_Trebuchet-17f9d57ac7ba0d53cd33f0f7a387f2c6f1248aac.tar.gz
android_packages_apps_Trebuchet-17f9d57ac7ba0d53cd33f0f7a387f2c6f1248aac.tar.bz2
android_packages_apps_Trebuchet-17f9d57ac7ba0d53cd33f0f7a387f2c6f1248aac.zip
Add debug tracing for a lab-only flake
This time, Launcher doesn't send a completion event upon switching from Home to all apps. Bug: 133867119 Change-Id: I3738cf10a14ea288df2dfda387aafda022beb349
Diffstat (limited to 'tests')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/Workspace.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/Workspace.java b/tests/tapl/com/android/launcher3/tapl/Workspace.java
index 7dcc426b9..33754c125 100644
--- a/tests/tapl/com/android/launcher3/tapl/Workspace.java
+++ b/tests/tapl/com/android/launcher3/tapl/Workspace.java
@@ -66,6 +66,7 @@ public final class Workspace extends Home {
"switchToAllApps: swipeHeight = " + swipeHeight + ", slop = "
+ mLauncher.getTouchSlop());
+ mLauncher.getTestInfo(TestProtocol.REQUEST_ENABLE_DEBUG_TRACING);
mLauncher.swipeToState(
start.x,
start.y,
@@ -73,6 +74,7 @@ public final class Workspace extends Home {
start.y - swipeHeight - mLauncher.getTouchSlop(),
60,
ALL_APPS_STATE_ORDINAL);
+ mLauncher.getTestInfo(TestProtocol.REQUEST_DISABLE_DEBUG_TRACING);
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer(
"swiped to all apps")) {