commit | 7b6385c740c0a5e8917a9cb48a7eb4b1d66daf20 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed May 12 17:55:36 2021 +0200 |
committer | Eric Laurent <elaurent@google.com> | Wed May 12 17:55:36 2021 +0200 |
tree | 57afd688745546c8d06f8ebc17caf90d2f79e0e1 | |
parent | ba72d94e9b0b4a8b1fb13cfd3b28296eedbfaaf0 [diff] |
audio policy: fix wrong ring volume after music stops. In computeVolume() only apply the special rule boosting ringtone and notification volumes when music is playing over A2DP if the selected devices do not included the speaker: In this case, the notification volume applied is the volume for speaker, not A2DP anyway. Bug: 187481909 Test: repro steps in bug Change-Id: I1b419e6681f771c25f61092edbb3acbf946b8ba6