summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@google.com>2015-10-12 16:34:03 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-10-12 16:34:03 +0000
commitfe45f1b97a1f572ce453193035f1fabf7957cc03 (patch)
tree56895363287f87e617b8e777f63105b97fae699d /core
parent6be61a98fccbadfdcfcefe9aa51d90bfb6c13901 (diff)
parentc88a2d5b33d35a66efe6152d03948639877c841e (diff)
downloadframeworks_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.java3
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;
}