summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Olsen <eolsen@android.com>2010-03-16 11:52:44 -0700
committerEric Olsen <eolsen@android.com>2010-03-18 18:21:10 -0700
commitb0a735250760cd6dbe8c4e446202426918eb7bd9 (patch)
tree9061f7836cf7212dedd1f787806195c925db33d0
parentdeaab6fa4a94c31494ebb6770dd0532198d0cbca (diff)
downloadbluetooth-b0a735250760cd6dbe8c4e446202426918eb7bd9.tar.gz
Add blacklist for Bluetooth SCO connections
- Add exceptions for Motorola HF850 and Infinity G350 Signed-off-by: Eric Olsen <eolsen@android.com> Change-Id: I417c8f8f63420b4a6a0f7a64972bafd893f6d132
-rw-r--r--data/Android.mk1
-rw-r--r--data/blacklist.conf7
2 files changed, 8 insertions, 0 deletions
diff --git a/data/Android.mk b/data/Android.mk
index 175bd94..0e289c4 100644
--- a/data/Android.mk
+++ b/data/Android.mk
@@ -22,6 +22,7 @@ files := \
audio.conf \
input.conf \
main.conf \
+ blacklist.conf \
auto_pairing.conf
copy_to := $(addprefix $(dest_dir)/,$(files))
diff --git a/data/blacklist.conf b/data/blacklist.conf
new file mode 100644
index 0000000..3190b7b
--- /dev/null
+++ b/data/blacklist.conf
@@ -0,0 +1,7 @@
+// Do NOT change this file format without updating the parsing logic in
+// the modules that use this file (listed below):
+// android_bluetooth_ScoSocket.cpp
+
+// Module,Type,Value List,Parameter List, //Comment
+scoSocket:name,"MY-CAR",=ALL_ESCO_MASK;-ESCO_2EV5;-ESCO_3EV3;-ESCO_3EV5, // Infinity G35
+scoSocket:name,"Motorola HF850",=SCO_ESCO_MASK, // Motorola HF850