diff options
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/am/src/com/android/commands/am/Am.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java index 7f3dbe5..bcd4588 100644 --- a/cmds/am/src/com/android/commands/am/Am.java +++ b/cmds/am/src/com/android/commands/am/Am.java @@ -1181,12 +1181,12 @@ public class Am { private class IntentReceiver extends IIntentReceiver.Stub { private boolean mFinished = false; - public synchronized void performReceive( - Intent intent, int rc, String data, Bundle ext, boolean ord, - boolean sticky) { - String line = "Broadcast completed: result=" + rc; + @Override + public void performReceive(Intent intent, int resultCode, String data, Bundle extras, + boolean ordered, boolean sticky, int sendingUser) throws RemoteException { + String line = "Broadcast completed: result=" + resultCode; if (data != null) line = line + ", data=\"" + data + "\""; - if (ext != null) line = line + ", extras: " + ext; + if (extras != null) line = line + ", extras: " + extras; System.out.println(line); mFinished = true; notifyAll(); |