diff options
| author | Eric Laurent <elaurent@google.com> | 2012-05-21 08:55:30 -0700 |
|---|---|---|
| committer | Eric Laurent <elaurent@google.com> | 2012-05-24 10:10:45 -0700 |
| commit | 88f11846a621b148387aa09754bc939933793717 (patch) | |
| tree | c986644afe2967a0d3d327724e1312bb9aa1093b /include | |
| parent | ddf07b41167bbcb4e74d0af5dd43175513963c2d (diff) | |
| download | system_core-88f11846a621b148387aa09754bc939933793717.tar.gz system_core-88f11846a621b148387aa09754bc939933793717.tar.bz2 system_core-88f11846a621b148387aa09754bc939933793717.zip | |
audio policy: allow disabling A2DP for media.
Added FORCE_NO_BT_A2DP forced use to allow applications to
override default policy to use A2DP whenever connected.
Bug 6485897.
Change-Id: I0039232ea6cce4121f375961b2c153d1a0d92e49
Diffstat (limited to 'include')
| -rw-r--r-- | include/system/audio_policy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system/audio_policy.h b/include/system/audio_policy.h index 57f7110e..91b8e9c4 100644 --- a/include/system/audio_policy.h +++ b/include/system/audio_policy.h @@ -42,6 +42,7 @@ typedef enum { AUDIO_POLICY_FORCE_BT_DESK_DOCK, AUDIO_POLICY_FORCE_ANALOG_DOCK, AUDIO_POLICY_FORCE_DIGITAL_DOCK, + AUDIO_POLICY_FORCE_NO_BT_A2DP, /* A2DP sink is not preferred to speaker or wired HS */ AUDIO_POLICY_FORCE_CFG_CNT, AUDIO_POLICY_FORCE_CFG_MAX = AUDIO_POLICY_FORCE_CFG_CNT - 1, |
