commit | 9f503a4285ea6818a572e56e47f9f6814c2b65c5 | [log] [tgz] |
---|---|---|
author | Jon Spivack <spivack@google.com> | Tue Oct 22 16:49:19 2019 -0700 |
committer | Jon Spivack <spivack@google.com> | Thu Dec 19 20:17:06 2019 -0800 |
tree | f766e951b6259bb2626478790d12f056c22f8910 | |
parent | 6b243fdf227f80be3039c193a081e510b5737572 [diff] |
Dynamically stop lazy services Services can choose to register with the new LazyServiceRegistrar. ServiceManager perpetually checks the reference counts of services registered in this way. If ServiceManager detects that a service no longer has any clients, it will notify the LazyServiceRegistrar, which will attempt to shut down the service. Bug: 143108344 Test: aidl_lazy_test Change-Id: Ic01981b767ab4402e7aecdf1cdf9ed64df1f5af4