commit | 1b840304b32a12acaa2ec5b07849f3e8a32c9fbf | [log] [tgz] |
---|---|---|
author | Jon Spivack <spivack@google.com> | Thu Feb 06 18:34:30 2020 -0800 |
committer | Jon Spivack <spivack@google.com> | Wed Mar 18 16:31:08 2020 -0700 |
tree | 18c5f17f8e79ee8f0d87630777b0a1904ca784d2 | |
parent | 2f48902452b04a3a29d74060cb9baf740c5e3e96 [diff] |
Run apexd dynamically Registering apexservice with the LazyServiceReigstrar allows it to be automatically stopped when it is not in use. The forcePersist flag is set until preliminary tasks are completed in order to avoid stopping the service prematurely. Replacing calls to getService with waitForService allows it to be dynamically started when it is needed. Bug: 149060287 Test: atest --test-mapping system/apex/apexd Change-Id: I5e041c611bd8e5482cb09220739db9b1b04714cd