Fix for race condition between radio and oemhook services.

The race condition was this:
1. Phone process crashes and restarts
2. Phone process calls IRadio.setResponseFunctions()
3. oemHookInd is sent from vendor RIL. At this point oemHook
callbacks are stale, and due to that the callback fails and
sets callback objects to NULL, including the IRadio ones which is
not correct.

Test: Basic telephony sanity. The condition was easily reproducible
on angler; verified that it works fine now.
Bug: 32020264

Change-Id: I33bbdf01b19d009530c78baae90188acb4986d15
1 file changed
tree: d17412bdb0a8c316bf96c49c7f6bc7d71731fd84
  1. include/
  2. libril/
  3. librilutils/
  4. reference-ril/
  5. rild/
  6. CleanSpec.mk