summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-05-06 10:38:08 -0700
committervadimt <vadimt@google.com>2019-05-06 10:38:08 -0700
commit16f2cd6cad2d71b9c8b155a0fd7a0109e0647a3a (patch)
treed95788f3f99f30a482a17b608d3620479a04b524 /tests
parent1bdb0f4046155ffb56a995aef942fc1e3367d0eb (diff)
downloadandroid_packages_apps_Trebuchet-16f2cd6cad2d71b9c8b155a0fd7a0109e0647a3a.tar.gz
android_packages_apps_Trebuchet-16f2cd6cad2d71b9c8b155a0fd7a0109e0647a3a.tar.bz2
android_packages_apps_Trebuchet-16f2cd6cad2d71b9c8b155a0fd7a0109e0647a3a.zip
Removing pressing home button twice
Bug: 124239413 Change-Id: I8c14c7e939bb4442cc830dcff3ec266ed8ed7186
Diffstat (limited to 'tests')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
index f5c5a8d0b..87ef0448b 100644
--- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
+++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -374,16 +374,6 @@ public final class LauncherInstrumentation {
event -> true,
"Pressing Home didn't produce any events");
mDevice.waitForIdle();
-
- // Temporarily press home twice as the first click sometimes gets ignored (b/124239413)
- executeAndWaitForEvent(
- () -> {
- log("LauncherInstrumentation.pressHome before clicking");
- waitForSystemUiObject("home").click();
- },
- event -> true,
- "Pressing Home didn't produce any events");
- mDevice.waitForIdle();
}
try (LauncherInstrumentation.Closable c = addContextLayer(
"performed action to switch to Home - " + action)) {