summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorBen Gruver <bgruv@google.com>2012-09-27 13:02:06 -0700
committerBen Gruver <bgruv@google.com>2012-09-27 13:02:06 -0700
commit37d83a3caf138e35fa1a355787d20c351f6b37a6 (patch)
treea4fe753ce045a1fc0eb7edc17641425981a6079f /cmds
parent0b1711582ff07d6d1e8e4de6c057eaf6a3473ac3 (diff)
downloadframeworks_base-37d83a3caf138e35fa1a355787d20c351f6b37a6.zip
frameworks_base-37d83a3caf138e35fa1a355787d20c351f6b37a6.tar.gz
frameworks_base-37d83a3caf138e35fa1a355787d20c351f6b37a6.tar.bz2
Pass the originating uid to the package verifier
Bug: 6923241 Change-Id: I85a3e0d53b469543cb0551d3a440d2663b5d0697
Diffstat (limited to 'cmds')
-rw-r--r--cmds/pm/src/com/android/commands/pm/Pm.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java
index 5f898c2..c455b7d 100644
--- a/cmds/pm/src/com/android/commands/pm/Pm.java
+++ b/cmds/pm/src/com/android/commands/pm/Pm.java
@@ -924,7 +924,7 @@ public final class Pm {
PackageInstallObserver obs = new PackageInstallObserver();
try {
VerificationParams verificationParams = new VerificationParams(verificationURI,
- originatingURI, referrerURI, null);
+ originatingURI, referrerURI, VerificationParams.NO_UID, null);
mPm.installPackageWithVerificationAndEncryption(apkURI, obs, installFlags,
installerPackageName, verificationParams, encryptionParams);