Merge "Protecting against trying to launch apps that don't exist" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-16 01:07:09 +00:00
committed by Android (Google) Code Review

View File

@@ -229,6 +229,9 @@ public class AppLaunch extends InstrumentationTestCase {
setLaunchOrder();
for (LaunchOrder launch : mLaunchOrderList) {
if (mNameToIntent.get(launch.getApp()) == null) {
continue;
}
dropCache();
String appPkgName = mNameToIntent.get(launch.getApp())
.getComponent().getPackageName();