commit | e99c6637ac50ce65ce82c9b7d25d1e09d77afb09 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Feb 07 15:43:40 2023 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Feb 07 15:53:14 2023 -0800 |
tree | 60fb1166cd674fba062f6e3f825f62b65d09f782 | |
parent | 1753209ce644c11375c2711b8cf961c4095ec4da [diff] |
libaudiohal: Fix probing of the AIDL HAL presence Since the AIDL HAL service is starting in parallel with the audioserver, using `checkService` can result in false negatives. Need to use `isDeclared` which does the check based on the vendor manifest. Bug: 205884982 Test: start cuttlefish with AIDL HAL enabled, look for `FactoryHal` tag in logcat Change-Id: I17c4da17eb8172cdc2440070fe332b69b6d64c0e