summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2010-04-22 15:54:34 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-22 15:54:34 -0700
commita6bde3c9cd0db85538ff6166cb35f626c303352b (patch)
treeee1739724e0587cc210cd05b0563aad0b5da367e /src
parentdd3791844f7172fc9f231e4d7666a8f81f86daa7 (diff)
parenta3683a51faab316c1577cd13c708a41938bcc646 (diff)
downloadpackages_apps_Settings-a6bde3c9cd0db85538ff6166cb35f626c303352b.zip
packages_apps_Settings-a6bde3c9cd0db85538ff6166cb35f626c303352b.tar.gz
packages_apps_Settings-a6bde3c9cd0db85538ff6166cb35f626c303352b.tar.bz2
am a3683a51: Enable moving packages when install location is set to auto.
Merge commit 'a3683a51faab316c1577cd13c708a41938bcc646' into froyo-plus-aosp * commit 'a3683a51faab316c1577cd13c708a41938bcc646': Enable moving packages when install location is set to auto.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/InstalledAppDetails.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/InstalledAppDetails.java b/src/com/android/settings/InstalledAppDetails.java
index a8ceab0..a6496e7 100644
--- a/src/com/android/settings/InstalledAppDetails.java
+++ b/src/com/android/settings/InstalledAppDetails.java
@@ -242,7 +242,8 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene
if ((mAppInfo.flags & ApplicationInfo.FLAG_FORWARD_LOCK) == 0 &&
(mAppInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0 &&
pkgInfo != null) {
- if (pkgInfo.installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) {
+ if (pkgInfo.installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ||
+ pkgInfo.installLocation == PackageInfo.INSTALL_LOCATION_AUTO) {
moveDisable = false;
} else if (pkgInfo.installLocation == PackageInfo.INSTALL_LOCATION_UNSPECIFIED) {
IPackageManager ipm = IPackageManager.Stub.asInterface(