commit | a0d0c542b9ba92c08dbb00ed613bae133348937a | [log] [tgz] |
---|---|---|
author | Tomoharu Kasahara <tomoharu.kasahara@sonymobile.com> | Fri Jan 18 20:04:38 2019 +0900 |
committer | Tomoharu Kasahara <tomoharu.kasahara@sony.com> | Wed Jan 23 09:04:42 2019 +0900 |
tree | 8713ea28f46b4ed76fd8d8279de13491ab03c621 | |
parent | 5c1968475c887c538d085a929750a0a838ba93f9 [diff] |
Enable phone apps to mute the BLUETOOTH_SCO stream This change adds support for privileged apps with the MODIFY_PHONE_STATE permission to mute the bluetooth sco stream using the adjustStreamVolume method. The change adds specific handling for BLUETOOTH_SCO as a mutable stream. Bug: 111195322 Test: Mute works by AudioManager.adjustStreamVolume (STREAM_BLUETOOTH_SCO, ADJUST_MUTE, 0) Change-Id: I932f9e152e9b6df93a749b083a7bcc7e08c2ad70