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
Loading
Please register or sign in to comment