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:
@@ -1619,7 +1619,8 @@ final class ApplicationPackageManager extends PackageManager {
|
|||||||
// System apps and apps demanding internal storage can't be moved
|
// System apps and apps demanding internal storage can't be moved
|
||||||
// anywhere else
|
// anywhere else
|
||||||
if (app.isSystemApp()
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user