Not using browser app in testing. It may not start.
Change-Id: I48b129d84ea9cf8f97193bcb769ba20738046ef5
This commit is contained in:
parent
e028324d0a
commit
1256912237
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue