OSDN Git Service

Set disable timer in case of any active ACL connection
authorSrinu Jella <sjella@codeaurora.org>
Wed, 8 Jun 2016 10:20:53 +0000 (15:50 +0530)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 8 Jun 2016 22:16:50 +0000 (22:16 +0000)
commit70035577fdab52abfdd621115a3a50377e9e7e57
tree2f98caa50a454c3bce002c33d3230653009e242e
parent59bc2de9063e002911f8565e5821e108f76b9806
Set disable timer in case of any active ACL connection

Use Case: Disable time out when atleast one active ACL connections

Steps:
1. Turn ON Bluetooth
2. Connect to any Headset
3. Turn OFF bluetooth.

Failure: Turn OFF bluetooth is failed when atleast one active ACL connections

Root Cause:i If we have one or more active ACL links, so it is not notitying
BTA_DM_DISABLE_EVT to upper layer.

Fix: Set disable timer in case of any active ACL connection

Bug: 29217385

Change-Id: Ica47717119f1ab9fa9f4f5244e8483c408276a2a
(cherry picked from commit 3e4f01ada8c1627bd48f31cd0c8269984b8e5f96)
bta/dm/bta_dm_act.c