summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2010-04-22 15:57:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-22 15:57:28 -0700
commit830e4811e2a2d471ef50a179b2e2510ef037582e (patch)
tree4f2788be0616fad21cdcc2ceef96d2611ccd3b04 /src
parenta9523ed0fb0fef16c2ba4aba6d274144cdc95812 (diff)
parenta6bde3c9cd0db85538ff6166cb35f626c303352b (diff)
downloadpackages_apps_Settings-830e4811e2a2d471ef50a179b2e2510ef037582e.zip
packages_apps_Settings-830e4811e2a2d471ef50a179b2e2510ef037582e.tar.gz
packages_apps_Settings-830e4811e2a2d471ef50a179b2e2510ef037582e.tar.bz2
am a6bde3c9: am a3683a51: Enable moving packages when install location is set to auto.
Merge commit 'a6bde3c9cd0db85538ff6166cb35f626c303352b' into kraken * commit 'a6bde3c9cd0db85538ff6166cb35f626c303352b': 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(