Count failed install as finished
Otherwise DEMO_USER_SETUP_COMPLETE will not be set. Bug: 30445353 Change-Id: Id2a0c1b1643dd9846328a20f4c67e11e69b3bc84
This commit is contained in:
@@ -136,6 +136,10 @@ class PreloadAppsInstaller {
|
||||
mApkToPackageMap.put(apkName, basePackageName);
|
||||
}
|
||||
installExistingPackage(basePackageName, userId, counter);
|
||||
} else {
|
||||
Log.e(TAG, "Package " + basePackageName + " cannot be installed from "
|
||||
+ apkName + ": " + msg + " (returnCode " + returnCode + ")");
|
||||
counter.appInstallFinished();
|
||||
}
|
||||
}
|
||||
}.getBinder(), 0, SYSTEM_SERVER_PACKAGE_NAME, userId);
|
||||
|
||||
Reference in New Issue
Block a user