diff options
| author | Anubhav Gupta <anubhavg@codeaurora.org> | 2013-06-27 11:15:15 +0530 |
|---|---|---|
| committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:21:30 -0600 |
| commit | b9ae2b803bfdf6c9ed9db023c2d2641bbce4e016 (patch) | |
| tree | eed89ed10f7b4f467f0562393cc71531d3298dc0 /include | |
| parent | 54f50abfee113111b3c5af25d626a5875f566bd2 (diff) | |
| download | android_system_bt-b9ae2b803bfdf6c9ed9db023c2d2641bbce4e016.tar.gz android_system_bt-b9ae2b803bfdf6c9ed9db023c2d2641bbce4e016.tar.bz2 android_system_bt-b9ae2b803bfdf6c9ed9db023c2d2641bbce4e016.zip | |
Connection management with non scmst capable remote
If scmst is enabled on DUT and non-SCMST capable peer device is
tried to be connected then crash is seen due improper handling
of codec capability error handling. This fix addresses the same
and moreover it gives the flexibility to OEM to configure this
feature behavior as below:
Connect to non-scmst headset if BTA_AV_DISCONNECT_IF_NO_SCMS_T is
not defined or defined but set to FALSE, otherwise disconnect the
link if A2dp is tried to be connected with non scmst capable headsets.
Change-Id: I88593fec8619b14d2ed96cef13b3dd1d8bf580bd
Diffstat (limited to 'include')
| -rw-r--r-- | include/bt_target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bt_target.h b/include/bt_target.h index 629b353bb..2c2e5dd37 100644 --- a/include/bt_target.h +++ b/include/bt_target.h @@ -154,6 +154,10 @@ #define BTA_AV_CO_CP_SCMS_T FALSE #endif +#ifndef BTA_AV_DISCONNECT_IF_NO_SCMS_T +#define BTA_AV_DISCONNECT_IF_NO_SCMS_T FALSE +#endif + /* This feature is used to eanble interleaved scan*/ #ifndef BTA_HOST_INTERLEAVE_SEARCH #define BTA_HOST_INTERLEAVE_SEARCH FALSE |
