OSDN Git Service

Prevent A2DP bit pool calculation endless loops.
authorAndre Eisenbach <eisenbach@google.com>
Tue, 8 Jul 2014 19:33:38 +0000 (12:33 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 8 Jul 2014 19:33:38 +0000 (12:33 -0700)
commit4e3593a9a1c596904a844286fbe704e969e7230e
treec326d55732f77d7d4f31b9089f1e9929d2be3dfd
parent76e37d7bcc1af892bc5ef2be94f189ffaebde31f
Prevent A2DP bit pool calculation endless loops.

This prevents log spam and endless loops in the A2DP bit pool
calculation. Protecting against the endless loop with prevent battery
draining issues and phone unresponsiveness.

This patch addresses the symptom. A separate patch will be submitted
once root cause is determined to address the problem.

Change-Id: I045b724c1c1638551b9333249f39eee109fa9ba1
btif/src/btif_media_task.c