Merge "Default location is "internalOnly" when undefined." into mnc-dr-dev

This commit is contained in:
Jeff Sharkey
2015-10-12 16:34:03 +00:00
committed by Android (Google) Code Review

View File

@@ -1619,7 +1619,8 @@ final class ApplicationPackageManager extends PackageManager {
// System apps and apps demanding internal storage can't be moved
// anywhere else
if (app.isSystemApp()
|| app.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
|| app.installLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY
|| app.installLocation == PackageInfo.INSTALL_LOCATION_UNSPECIFIED) {
return false;
}