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

Commit 88ee224b authored by Yiyi Shen's avatar Yiyi Shen
Browse files

[MR2] Remove binder call from getSessionReleaseType

AudioManagerRouteController#getSessionReleaseType can be called on binder threads. Therefore, we should not call other classes which could incur in cross process communication. This prevents binder thread exhaustion by ensuring the current binder thread cannot block on a process waiting for binder threads.

Test: atest com.android.server.media.AudioManagerRouteControllerTest
Flag: com.android.media.flags.enable_output_switcher_personal_audio_sharing
Bug: 434734395

Change-Id: Ifff7f0c5fecfeb69e48fc2fa1e7043e90c2b2508
parent bdcd8751
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment