Merge "Fix NPE when assist data request times out" into nyc-dev

This commit is contained in:
Amith Yamasani
2016-04-25 19:07:30 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {
}
}