summaryrefslogtreecommitdiff
path: root/cmds/pm
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2016-05-17 18:32:46 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-17 18:32:46 +0000
commita24af982fffeeb6d3d4919907b5c27064c5a8ff1 (patch)
treef0dd42031c02d1cb98f5229ad575590d6f5b0caf /cmds/pm
parent791b7979e9a4bfca7e6e8e6c1cfedda47738ac1c (diff)
parent607844efa59f79bd9fab55eb75f217d21cd15f5f (diff)
Merge "Fix issue #27532364: Security Vulnerability in IIntentSender.send" into nyc-dev
am: 607844efa5 * commit '607844efa59f79bd9fab55eb75f217d21cd15f5f': Fix issue #27532364: Security Vulnerability in IIntentSender.send Change-Id: I749b455402caef335239b540ec8883a8d7b2a974
Diffstat (limited to 'cmds/pm')
-rw-r--r--cmds/pm/src/com/android/commands/pm/Pm.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java
index 19cb927bd582..4470eda0a2fa 100644
--- a/cmds/pm/src/com/android/commands/pm/Pm.java
+++ b/cmds/pm/src/com/android/commands/pm/Pm.java
@@ -301,14 +301,13 @@ public final class Pm {
private IIntentSender.Stub mLocalSender = new IIntentSender.Stub() {
@Override
- public int send(int code, Intent intent, String resolvedType,
+ public void send(int code, Intent intent, String resolvedType,
IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
try {
mResult.offer(intent, 5, TimeUnit.SECONDS);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
- return 0;
}
};