Merge "Not using browser app in testing. It may not start." into ub-launcher3-qt-dev

This commit is contained in:
Vadim Tryshev authored and Android (Google) Code Review committed 2019-04-22 22:58:32 +00:00
commit b226f28a8c
2 files changed
+4 -2

No files matched your search

@@ -16,6 +16,8 @@
package com.android.quickstep;
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
@@ -60,7 +62,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
}
private void startTestApps() throws Exception {
startAppFast(resolveSystemApp(Intent.CATEGORY_APP_BROWSER));
startAppFast(getAppPackageName());
startAppFast(resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR));
startAppFast(resolveSystemApp(Intent.CATEGORY_APP_CONTACTS));
@@ -370,7 +370,7 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
launch(getAppPackageName());
}
private static String getAppPackageName() {
public static String getAppPackageName() {
return getInstrumentation().getContext().getPackageName();
}
}