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

am: 9b8b54f9f6

Change-Id: I2dc8e043b9e6381085e3f066ac0705d106d54bac
This commit is contained in:
Kevin Neas
2018-03-16 02:48:43 +00:00
committed by android-build-merger

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