Loading tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +6 −4 Original line number Diff line number Diff line Loading @@ -560,11 +560,13 @@ public final class LauncherInstrumentation { final int finalState = mDevice.hasObject(By.pkg(getLauncherPackageName())) ? NORMAL_STATE_ORDINAL : BACKGROUND_APP_STATE_ORDINAL; try (LauncherInstrumentation.Closable c = addContextLayer(action)) { swipeToState( displaySize.x / 2, displaySize.y - 1, displaySize.x / 2, 0, ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME, finalState); } } } else { log(action = "clicking home button"); executeAndWaitForEvent( Loading Loading
tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +6 −4 Original line number Diff line number Diff line Loading @@ -560,11 +560,13 @@ public final class LauncherInstrumentation { final int finalState = mDevice.hasObject(By.pkg(getLauncherPackageName())) ? NORMAL_STATE_ORDINAL : BACKGROUND_APP_STATE_ORDINAL; try (LauncherInstrumentation.Closable c = addContextLayer(action)) { swipeToState( displaySize.x / 2, displaySize.y - 1, displaySize.x / 2, 0, ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME, finalState); } } } else { log(action = "clicking home button"); executeAndWaitForEvent( Loading