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

* commit 'fe45f1b97a1f572ce453193035f1fabf7957cc03':
  Default location is "internalOnly" when undefined.
This commit is contained in:
Jeff Sharkey
2015-10-12 16:39:29 +00:00
committed by Android Git Automerger

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;
}