[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
Loading
Please register or sign in to comment