summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-04-15 17:25:47 (GMT)
committerThe Android Automerger <android-build@google.com>2016-04-15 21:17:25 (GMT)
commitad7fcc400fe1609929dc4605edaf1e0caeeeec1b (patch)
treee44e5bc936152a643b718a94f9074605bf118da0
parentc8188d46aef04049cc14a80a43a7fb7ea97ba433 (diff)
downloadandroid_packages_apps_PackageInstaller-ad7fcc400fe1609929dc4605edaf1e0caeeeec1b.zip
android_packages_apps_PackageInstaller-ad7fcc400fe1609929dc4605edaf1e0caeeeec1b.tar.gz
android_packages_apps_PackageInstaller-ad7fcc400fe1609929dc4605edaf1e0caeeeec1b.tar.bz2
DeletePackageAsUser in PackageManager uses different ordering of flags than IPackageManager.
Bug: 28207146 Change-Id: Idc75427005c7998de4edd30245fa00a68ba816ba
-rwxr-xr-xsrc/com/android/packageinstaller/UninstallAppProgress.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/UninstallAppProgress.java b/src/com/android/packageinstaller/UninstallAppProgress.java
index e9c058f..3a17827 100755
--- a/src/com/android/packageinstaller/UninstallAppProgress.java
+++ b/src/com/android/packageinstaller/UninstallAppProgress.java
@@ -262,7 +262,7 @@ public class UninstallAppProgress extends Activity implements OnClickListener {
getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
getPackageManager().deletePackageAsUser(mAppInfo.packageName, observer,
- mUser.getIdentifier(), mAllUsers ? PackageManager.DELETE_ALL_USERS : 0);
+ mAllUsers ? PackageManager.DELETE_ALL_USERS : 0, mUser.getIdentifier());
mHandler.sendMessageDelayed(mHandler.obtainMessage(UNINSTALL_IS_SLOW),
QUICK_INSTALL_DELAY_MILLIS);