Adding wellbeing toast test

Bug: 130914022
Change-Id: I777440884c122ec040e5e00bfbed41f2eb86b5b0
This commit is contained in:
vadimt
2019-02-06 15:35:09 -08:00
parent 44a063a16f
commit 736adde1c7
4 changed files with 85 additions and 2 deletions

View File

@@ -361,7 +361,7 @@ public abstract class AbstractLauncherUiTest {
mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), LONG_WAIT_TIME_MS));
}
protected String resolveSystemApp(String category) {
protected static String resolveSystemApp(String category) {
return getInstrumentation().getContext().getPackageManager().resolveActivity(
new Intent(Intent.ACTION_MAIN).addCategory(category),
PackageManager.MATCH_SYSTEM_ONLY).