libaudiohal: Handle failures of 'waitForService' and 'fromBinder'
Both 'waitForService' and 'fromBinder' may unexpectedly return a nullptr on various transient failures. Since we anyway plan to wait forever in 'waitForService', implement retry logic to avoid crashing audioserver. Bug: 330417729 Test: atest VtsHalAudioCoreTargetTest (cherry picked from https://android-review.googlesource.com/q/commit:d8f2441693ce6c9abf4891a5163be7dcdba455d4) Merged-In: Iecff8a7a0dffdb80009d26857cefd93d1c996d58 Change-Id: Iecff8a7a0dffdb80009d26857cefd93d1c996d58
Loading
Please register or sign in to comment