summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorHsin-Yu Chao <hychao@google.com>2020-03-04 11:59:05 +0800
committerCommit Bot <commit-bot@chromium.org>2020-03-06 07:00:32 +0000
commiteb34f4550e2332c47749b7f8f55eb8ec56ca248f (patch)
tree18a42036acf7c3346cf1224107e1dd05cd0a4868 /init
parent52e2d8861ab53045f8d760de0ba33b0f7fc5369a (diff)
downloadadhd-eb34f4550e2332c47749b7f8f55eb8ec56ca248f.tar.gz
init: Disable Bluetooth Headset Profile
Disable HSP in the init script which means we'll only use HFP(Hands-free Profile) in future. Moving forward we'll monitor for a few releases to see if there's feedback of BT headset unhappy with that, and deprecate all related codes after that. BUG=b:149879247 TEST=emerge and deploy adhd, manual test BT headset. Change-Id: I1010864053aa7fb84475247dab7602f05bed8292 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2086416 Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Hsinyu Chao <hychao@chromium.org> Commit-Queue: Hsinyu Chao <hychao@chromium.org>
Diffstat (limited to 'init')
-rw-r--r--init/cras.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/cras.sh b/init/cras.sh
index a1a21db2..b0ca430c 100644
--- a/init/cras.sh
+++ b/init/cras.sh
@@ -6,6 +6,11 @@
device_config_dir="$(cros_config /audio/main cras-config-dir)"
internal_ucm_suffix="$(cros_config /audio/main ucm-suffix)"
+# Deprecate HSP since it's just too old.
+# TODO(hychao): Clean up all CRAS codes that are related to HSP once we're
+# sure no headset breaks because of that.
+DISABLE_PROFILE="--disable_profile=hsp"
+
# Handle legacy config.
if [ -z "${device_config_dir}" ]; then
# Disable HSP/HFP on Google WiFi (Gale) with UART-HCI Bluetooth