Not using browser app in testing. It may not start.

Change-Id: I48b129d84ea9cf8f97193bcb769ba20738046ef5
This commit is contained in:
vadimt 2019-04-22 15:36:18 -07:00
parent e028324d0a
commit 1256912237
2 changed files with 4 additions and 2 deletions

View File

@ -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));

View File

@ -370,7 +370,7 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
launch(getAppPackageName());
}
private static String getAppPackageName() {
public static String getAppPackageName() {
return getInstrumentation().getContext().getPackageName();
}
}