diff options
author | vadimt <vadimt@google.com> | 2019-06-12 15:26:27 -0700 |
---|---|---|
committer | vadimt <vadimt@google.com> | 2019-06-12 15:26:27 -0700 |
commit | 87fbd33a3702bc77a68a824dd1e36d4010574767 (patch) | |
tree | edfd1e176093abbe34d858ac427caea3539661d8 /quickstep/tests | |
parent | c1fa3abd2e441d4acfdf6ca8d3ba628776f2ba6d (diff) | |
download | android_packages_apps_Trebuchet-87fbd33a3702bc77a68a824dd1e36d4010574767.tar.gz android_packages_apps_Trebuchet-87fbd33a3702bc77a68a824dd1e36d4010574767.tar.bz2 android_packages_apps_Trebuchet-87fbd33a3702bc77a68a824dd1e36d4010574767.zip |
Not using settings app in tests
Change-Id: I7542dab07a0d5a76cc90f4b5eee0d376b5d8ca11
Diffstat (limited to 'quickstep/tests')
-rw-r--r-- | quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java b/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java index 20fdff2c5..013591171 100644 --- a/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java +++ b/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java @@ -22,6 +22,7 @@ import static androidx.test.InstrumentationRegistry.getInstrumentation; import static com.android.launcher3.tapl.LauncherInstrumentation.WAIT_TIME_MS; import static com.android.launcher3.tapl.TestHelpers.getHomeIntentInPackage; import static com.android.launcher3.tapl.TestHelpers.getLauncherInMyProcess; +import static com.android.launcher3.ui.AbstractLauncherUiTest.resolveSystemApp; import static com.android.launcher3.util.rule.ShellCommandRule.disableHeadsUpNotification; import static com.android.launcher3.util.rule.ShellCommandRule.getLauncherCommand; import static com.android.quickstep.NavigationModeSwitchRule.Mode.THREE_BUTTON; @@ -108,7 +109,7 @@ public class FallbackRecentsTest { @NavigationModeSwitch(mode = THREE_BUTTON) @Test public void goToOverviewFromApp() { - startAppFast("com.android.settings"); + startAppFast(resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR)); mLauncher.getBackground().switchToOverview(); } |