diff options
author | Jeff Sharkey <jsharkey@google.com> | 2015-10-12 16:34:03 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-10-12 16:34:03 +0000 |
commit | fe45f1b97a1f572ce453193035f1fabf7957cc03 (patch) | |
tree | 56895363287f87e617b8e777f63105b97fae699d /core | |
parent | 6be61a98fccbadfdcfcefe9aa51d90bfb6c13901 (diff) | |
parent | c88a2d5b33d35a66efe6152d03948639877c841e (diff) | |
download | frameworks_base-fe45f1b97a1f572ce453193035f1fabf7957cc03.zip frameworks_base-fe45f1b97a1f572ce453193035f1fabf7957cc03.tar.gz frameworks_base-fe45f1b97a1f572ce453193035f1fabf7957cc03.tar.bz2 |
Merge "Default location is "internalOnly" when undefined." into mnc-dr-dev
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/app/ApplicationPackageManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/app/ApplicationPackageManager.java b/core/java/android/app/ApplicationPackageManager.java index 0adce5d..7cae745 100644 --- a/core/java/android/app/ApplicationPackageManager.java +++ b/core/java/android/app/ApplicationPackageManager.java @@ -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; } |