Add synchronization between IRadio callbacks and service creation.

Radio indications are sent by vendor ril on a separate thread and
can be received even before radio service is created and registered.
This is to avoid that race and make sure indication callbacks are
accessed only after service is created.

Test: Basic telephony sanity
Bug: 34363807
Change-Id: Iab11add5ca458476575c8b52d5e5878ff2b1d175
3 files changed
tree: d92f81ac139475874db5fa0caf4b19a391769d24
  1. include/
  2. libril/
  3. librilutils/
  4. reference-ril/
  5. rild/
  6. CleanSpec.mk