From a3683a51faab316c1577cd13c708a41938bcc646 Mon Sep 17 00:00:00 2001 From: Suchi Amalapurapu Date: Thu, 22 Apr 2010 10:56:51 -0700 Subject: [PATCH] Enable moving packages when install location is set to auto. Change-Id: If081ad949cb2aed6b3555275c582e951e579ffc9 --- src/com/android/settings/InstalledAppDetails.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/settings/InstalledAppDetails.java b/src/com/android/settings/InstalledAppDetails.java index a8ceab0b45c..a6496e751cc 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(