OSDN Git Service

Update the sniff policy when SCO is active
authorMallikarjuna GB <gbmalli@codeaurora.org>
Tue, 23 Jun 2015 09:49:29 +0000 (15:19 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 3 Mar 2016 17:41:24 +0000 (17:41 +0000)
commite3b557d77a0979ee7bf196490437f33829727929
tree29b4f1970665fa404f642153b039e0f2727febad
parent136db0d32d38958577a3f125c6799ac2a059955f
Update the sniff policy when SCO is active

Use case:
1. Connect BT headset.
2. Make an outgoing call or receive a call on BT headset.
3. Check if sniff parameters are taking affect when SCO is active.

Failure:
Sniff parameters when SCO is active are not taking affect.

Root cause:
SCO link was not checked when updating power manager(PM)
about idle or busy states.

Fix:
During AG tx/rx activity, update PM based on SCO state.

Change-Id: I4c09406395998bacf13471a273402a60f3b77f89
bta/ag/bta_ag_act.c