diff options
| author | Robin Lee <rgl@google.com> | 2020-03-31 00:36:51 +0200 |
|---|---|---|
| committer | Robin Lee <rgl@google.com> | 2020-04-24 16:12:27 +0200 |
| commit | 9e1181302a4328b24965b90211eee49c4af6bb1d (patch) | |
| tree | dce7ad79165d42ad8321c1edb047287d2a7dcabb /libs/rs/rsg_ScriptJavaClass.cpp | |
| 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
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions
