Merge "Protecting against trying to launch apps that don't exist" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9b8b54f9f6
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user