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

Skip to content
Commit c62c9327 authored by Eric Laurent's avatar Eric Laurent Committed by Cherrypicker Worker
Browse files

audiopolicy: avoid binder calls to system server with mutex held

Do not call mustAnonymizeBluetoothAddress() (which in turn uses binder
calls to system server (for permission checks...) with the audio policy
service mutex held. This can cause the system server binder queue to be
exhausted if other transactions to java AudioService are waiting on a
mutex held while calling into native audio policy service.

Bug: 303552947
Fixes: 329911862
Test: make
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:db0ec96c4013068be846cda345adad581076087f)
Merged-In: Id602be8600040077c7db26f1a9a0b8948ee1bc5c
Change-Id: Id602be8600040077c7db26f1a9a0b8948ee1bc5c
parent b598f23a
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