diff options
author | Nitin Arora <niarora@codeaurora.org> | 2016-08-04 17:39:01 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2016-08-24 08:10:08 -0600 |
commit | 9877859734c41a532f6a12883948f3c74282afb3 (patch) | |
tree | 16c9138d3b0cf2cd12e168e1a61f47052f394e22 /btif/co/bta_av_co.c | |
parent | 0f6cf7ac369d8451dff96db9d1e9f65581515743 (diff) | |
download | android_system_bt-9877859734c41a532f6a12883948f3c74282afb3.tar.gz android_system_bt-9877859734c41a532f6a12883948f3c74282afb3.tar.bz2 android_system_bt-9877859734c41a532f6a12883948f3c74282afb3.zip |
Bluetooth: Increase profile connection timeout
This change increases the timeout after the gatt
discovery complete from 1 sec to 5 sec.
For profiles such as HOGP, the profile level gatt connections
after the discovery complete callbacks sometime take more time,
due to which the "no app timeout" disconnects the physical link.
This change will hold the gatt connection used for remote discovery,
for 5 seconds, after the discovery is complete, and thus provide
sufficient time for the profile level connections to kick in.
CRs-Fixed: 1050047
Change-Id: I8f3c3ad162e3dadeb0e3215bf9fe6a20e4d9c425
Diffstat (limited to 'btif/co/bta_av_co.c')
0 files changed, 0 insertions, 0 deletions