| commit | 3373cd3d7a5a93afbaac5e3ee4073bf27ba2623a | [log] [tgz] |
|---|---|---|
| author | Peter Kalauskas <peskal@google.com> | Wed Oct 24 15:37:00 2018 -0700 |
| committer | Peter Kalauskas <peskal@google.com> | Mon Nov 19 12:41:17 2018 -0800 |
| tree | 49b761f85a3c03fc8b2120e6db3de8020b30685c | |
| parent | 969512915f511cb7a821141ab1301921eb5fbd60 [diff] |
New default IClientCallback implementation
Add a default IClientCallback implementation which exits once all
watched services have no more clients. This is useful for lazy HALs.
Test: Use DefaultCounterExitCallback to register a HAL that implements
two interfaces and check that it exits when both interfaces are
unused.
Change-Id: Ifcc53631e284375a436d618e84e9546a5e53844a