Loading tests/tapl/com/android/launcher3/tapl/Background.java +1 −3 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ import static com.android.launcher3.TestProtocol.BACKGROUND_APP_STATE_ORDINAL; import static com.android.launcher3.tapl.LauncherInstrumentation.WAIT_TIME_MS; import static com.android.launcher3.tapl.TestHelpers.getOverviewPackageName; import static org.junit.Assert.assertTrue; import android.graphics.Point; import android.os.SystemClock; import android.view.MotionEvent; Loading Loading @@ -61,7 +59,7 @@ public class Background extends LauncherInstrumentation.VisibleContainer { "want to switch from background to overview")) { verifyActiveContainer(); goToOverviewUnchecked(BACKGROUND_APP_STATE_ORDINAL); assertTrue("Overview not visible", mLauncher.getDevice().wait( mLauncher.assertTrue("Overview not visible", mLauncher.getDevice().wait( Until.hasObject(By.pkg(getOverviewPackageName())), WAIT_TIME_MS)); return new BaseOverview(mLauncher); } Loading Loading
tests/tapl/com/android/launcher3/tapl/Background.java +1 −3 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ import static com.android.launcher3.TestProtocol.BACKGROUND_APP_STATE_ORDINAL; import static com.android.launcher3.tapl.LauncherInstrumentation.WAIT_TIME_MS; import static com.android.launcher3.tapl.TestHelpers.getOverviewPackageName; import static org.junit.Assert.assertTrue; import android.graphics.Point; import android.os.SystemClock; import android.view.MotionEvent; Loading Loading @@ -61,7 +59,7 @@ public class Background extends LauncherInstrumentation.VisibleContainer { "want to switch from background to overview")) { verifyActiveContainer(); goToOverviewUnchecked(BACKGROUND_APP_STATE_ORDINAL); assertTrue("Overview not visible", mLauncher.getDevice().wait( mLauncher.assertTrue("Overview not visible", mLauncher.getDevice().wait( Until.hasObject(By.pkg(getOverviewPackageName())), WAIT_TIME_MS)); return new BaseOverview(mLauncher); } Loading