diff options
| author | 2024-03-13 16:00:02 -0700 | |
|---|---|---|
| committer | 2024-03-13 16:00:02 -0700 | |
| commit | 6c5591bba0d82e32b1e8208cca3dd5c34a1bfa66 (patch) | |
| tree | 69d187dafbb32ed2de7e00a665b86a317e5632ab /libs/androidfw/StringPool.cpp | |
| parent | b61a03ebaa2d6762c27895a2a828ae71e1e33321 (diff) | |
AudioService: fix voice volume adjustments
When evaluating the active stream type for volume adjustements,
also consider STREAM_VOICE_CALL activity outside of calls to
handle situations like voicemail playback.
This negates the need for bad workarounds by apps such as
entering call mode for voicemail, or directly changing SCO
volume (by using value of hidden STREAM_BLUETOOTH_SCO).
Bug: 285185485
Test: OboeTester TEST OUTPUT > play VoiceComm > adjust volume
Change-Id: If24fc55ffa3acc43c11d95f6b31258bb4f59a236
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions