diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2010-04-22 15:57:28 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-04-22 15:57:28 -0700 |
commit | 830e4811e2a2d471ef50a179b2e2510ef037582e (patch) | |
tree | 4f2788be0616fad21cdcc2ceef96d2611ccd3b04 /src | |
parent | a9523ed0fb0fef16c2ba4aba6d274144cdc95812 (diff) | |
parent | a6bde3c9cd0db85538ff6166cb35f626c303352b (diff) | |
download | packages_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.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( |