Merge "Fix NPE when assist data request times out" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bc6d96e4d0
@@ -11983,8 +11983,12 @@ public final class ActivityManagerService extends ActivityManagerNative
|
||||
}
|
||||
if (receiver != null) {
|
||||
// Caller wants result sent back to them.
|
||||
Bundle sendBundle = new Bundle();
|
||||
// At least return the receiver extras
|
||||
sendBundle.putBundle(VoiceInteractionSession.KEY_RECEIVER_EXTRAS,
|
||||
pae.receiverExtras);
|
||||
try {
|
||||
pae.receiver.send(0, null);
|
||||
pae.receiver.send(0, sendBundle);
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user