diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-09-03 07:36:05 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-09-03 07:36:05 +0000 |
commit | f989f1456af552202feeefff3689e061f9c16d12 (patch) | |
tree | 23baa4a00195686892d5cd295760f59e00f38634 | |
parent | 19d64a8dbbfe03c5db61fe14f15ffc953455328e (diff) | |
parent | 36b0ca75f0ae35fa368dc256ba45aca5279d743e (diff) | |
download | platform_testing-f989f1456af552202feeefff3689e061f9c16d12.tar.gz |
release-request-957cd691-fb71-4770-8ff7-a3b9602655a5-for-git_oc-mr1-release-4314464 snap-temp-L54400000099147910
Change-Id: Ibdd90144f94ef5bd86ae4cfdbd248a9dd6cd67be
-rw-r--r-- | tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/LauncherJankTests.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/LauncherJankTests.java b/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/LauncherJankTests.java index a1eca8852..a24ab54ca 100644 --- a/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/LauncherJankTests.java +++ b/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/LauncherJankTests.java @@ -117,7 +117,7 @@ public class LauncherJankTests extends JankTestBase { } public void openAllApps() throws UiObjectNotFoundException, IOException { - mLauncherStrategy.openAllApps(true); + mLauncherStrategy.openAllApps(false); TimeResultLogger.writeTimeStampLogStart(String.format("%s-%s", getClass().getSimpleName(), getName()), TIMESTAMP_FILE); } @@ -136,6 +136,7 @@ public class LauncherJankTests extends JankTestBase { @GfxMonitor(processName="#getLauncherPackage") public void testAllAppsContainerSwipe() { UiObject2 allApps = mDevice.findObject(mLauncherStrategy.getAllAppsSelector()); + allApps.setGestureMargin(150); Direction dir = mLauncherStrategy.getAllAppsScrollDirection(); for (int i = 0; i < INNER_LOOP * 2; i++) { allApps.fling(dir, FLING_SPEED); |