Merge "resolved conflicts for 8cbd7c8a to master"

This commit is contained in:
Dianne Hackborn
2015-10-13 00:23:25 +00:00
committed by Android (Google) Code Review

View File

@@ -1646,7 +1646,8 @@ public class ApplicationPackageManager extends PackageManager {
return false;
}
if (!forceAllowOnExternal
&& app.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
&& (app.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY
|| app.installLocation == PackageInfo.INSTALL_LOCATION_UNSPECIFIED)) {
return false;
}