commit | 9e1181302a4328b24965b90211eee49c4af6bb1d | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Tue Mar 31 00:36:51 2020 +0200 |
committer | Robin Lee <rgl@google.com> | Fri Apr 24 16:12:27 2020 +0200 |
tree | dce7ad79165d42ad8321c1edb047287d2a7dcabb | |
parent | 4a2288bf0e9fd87c815f7fc5cb69ecb882602513 [diff] |
Use waitForDeclaredService to get Lights HAL We cache the reference to the HAL and use a DeathRecipient to keep track of whether it's still good. Adds waitForService and waitForDeclaredService to the ServiceManager Java implementation because they were missing. Test: atest LightsManagerTest Test: atest LightsServiceTest Bug: 152509747 Bug: 154631113 Bug: 154627432 Bug: 154629168 Change-Id: Ife8471f3a7e47b48bb31015ddf40f1d7fef6240f