diff options
author | Ugo Yu <ugoyu@google.com> | 2019-01-13 02:50:07 +0800 |
---|---|---|
committer | Ugo Yu <ugoyu@google.com> | 2019-01-24 08:40:51 +0800 |
commit | 93802016417b69824d1a00a928cf900343f3e4e2 (patch) | |
tree | c08a85d734252531db0d3deab7dd7e8b52d40443 /framework/java/android/bluetooth/BluetoothCodecStatus.java | |
parent | d22fb8f068841b8848589cb99eea7ef9c2e09d29 (diff) |
Introduce system APIs for Bluetooth silence mode.
Policies of silence mode:
1) If an active device (for A2DP or HFP) enters silence mode,
the active device for that profile will be set to null.
2) If a device exits silence mode while the A2DP or HFP active
device is null, the device will be set as the active device
for that profile.
3) If a device is disconnected, it exits silence mode.
4) If a device is set as the active device for A2DP or HFP,
while silence mode is enabled, then the device will exit
silence mode.
5) If a device is in silence mode, AVRCP position change event
and HFP AG indicators will be disabled.
6) If a device is not connected with A2DP or HFP, it cannot
enter silence mode.
Bug: 112323989
Test: Manual, runtest bluetooth
Change-Id: If7f340de38c350f17c37f00a3a2e871876baa20d
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecStatus.java')
0 files changed, 0 insertions, 0 deletions