commit | afa0d58951cc3d5d036d12f8ab9e5b63c4167020 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jan 24 18:09:16 2019 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Jan 25 14:28:36 2019 -0800 |
tree | 00225d60f52d92b57b18987162b49c16533c0530 | |
parent | d4f1d1e89a0c7f786798cb7ce559f4b0600b37e6 [diff] |
Fix race conditions for lazy services. Add hidlFqName/hidlName to registerClientCallbacks to make it more explicit, provide better errors, and for general sanity. Add tryUnregister so that a service can unregister itself before shutting down. Bug: 123318663 Test: hidl_test, manual Change-Id: I3ee26ba96dbc9732e72aaa16281abc47ce6a02c9 Merged-In: I3ee26ba96dbc9732e72aaa16281abc47ce6a02c9