hal: Modify A2DP output routing post releaseAudioPatch
HAL routes A2DP stream to speaker on releaseAudioPatch from APM until the stream is put to standby from framework. APM may releaseAudioPatch for an output where A2DP is suspended and SCO is active leading to HAL switching all streams to speaker. Fix this behavior by routing streams to speaker only if both SCO and A2DP are not active. Bug: 126848701 Test: repro steps in bug Change-Id: Ic315b16480fe6d0c81c45716534a42b800e2d9da
Loading
Please register or sign in to comment