Enable moving packages when install location is set to auto.
Change-Id: If081ad949cb2aed6b3555275c582e951e579ffc9
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