summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-05-21 08:55:30 -0700
committerEric Laurent <elaurent@google.com>2012-05-24 10:10:45 -0700
commit88f11846a621b148387aa09754bc939933793717 (patch)
treec986644afe2967a0d3d327724e1312bb9aa1093b
parentddf07b41167bbcb4e74d0af5dd43175513963c2d (diff)
downloadcore-88f11846a621b148387aa09754bc939933793717.tar.gz
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
-rw-r--r--include/system/audio_policy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system/audio_policy.h b/include/system/audio_policy.h
index 57f7110ef..91b8e9c44 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,