Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f605b052 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Cherrypicker Worker
Browse files

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
parent c03ada6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment