Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 830e4811 authored by Suchi Amalapurapu's avatar Suchi Amalapurapu Committed by Android Git Automerger
Browse files

am a6bde3c9: am a3683a51: Enable moving packages when install location is set to auto.

Merge commit 'a6bde3c9' into kraken

* commit 'a6bde3c9':
  Enable moving packages when install location is set to auto.
parents a9523ed0 a6bde3c9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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(