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.
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user