02153e697d3574c3c6affde5c9ad14164b893240
Allow muting BT SCO volume only from explicit mute request and not when stream volume index is set to 0. This is to match BT requirement that the valid SCO volume range is 0 to 15 and let the headset deal with actual attenuation for index 0. If explicitly muted via adjustStreamVolume() from an app with permission MODIFY_PHONE_STATE, then we set the audio policy stream volume to 0 and effectively mute RX path. Also change default value of Settings.System.MUTE_STREAMS_AFFECTED to include AudioManager.STREAM_BLUETOOTH_SCO. Bug: 111195322 Test: test volume changes in call over BT SCO Change-Id: I3b6560bbd1bcbb01a29aa746f23bae74329a1fa7
Merge "Switch android.test and junit classes to use UnsupportedAppUsage" am:
7bb0bcd305 am: b5ccf0e21c
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%