commit | 932e08e033de1d2e2323cc67323f8ddfc56e97d4 | [log] [tgz] |
---|---|---|
author | Amit Mahajan <amitmahajan@google.com> | Tue Jan 24 05:45:02 2017 -0800 |
committer | Amit Mahajan <amitmahajan@google.com> | Fri Feb 03 09:14:16 2017 -0800 |
tree | 7a738cb1bb6bf14546d51355b576b4fa7a6880b3 | |
parent | 53a5b229d41a706d807cf8df6301f3cc2f09b109 [diff] |
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 Merged-in: Iab11add5ca458476575c8b52d5e5878ff2b1d175 Change-Id: Iab11add5ca458476575c8b52d5e5878ff2b1d175