diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2010-04-22 10:56:51 -0700 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2010-04-22 13:42:41 -0700 |
commit | a3683a51faab316c1577cd13c708a41938bcc646 (patch) | |
tree | 13f87ce2a3339b7422404199b933f6ce3be97574 /src | |
parent | f07466782bb25ce4f2738133d0992f3531af28e5 (diff) | |
download | packages_apps_Settings-a3683a51faab316c1577cd13c708a41938bcc646.zip packages_apps_Settings-a3683a51faab316c1577cd13c708a41938bcc646.tar.gz packages_apps_Settings-a3683a51faab316c1577cd13c708a41938bcc646.tar.bz2 |
Enable moving packages when install location is set to auto.
Change-Id: If081ad949cb2aed6b3555275c582e951e579ffc9
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/InstalledAppDetails.java | 3 |
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( |