OSDN Git Service

Bluetooth streaming should wait for AVRCP to start.
authorSanket Agarwal <sanketa@google.com>
Thu, 7 Apr 2016 18:56:26 +0000 (11:56 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 7 Apr 2016 23:39:46 +0000 (23:39 +0000)
commitf3db7dcf88a585d133f73b8579012f8217965728
tree3905df361374f6bbcc6d71376ce96327d172002e
parent65e7943d098113c5aa56e9822b68f0c51c6dbe36
Bluetooth streaming should wait for AVRCP to start.

Currently we are waiting for A2DP to come up before we can start
streaming. This is not ideal since unless AVRCP comes up we cannot show
the UI reliably. That said, for compatibility with devices only having
A2DP we will need to modify this code. For now the A2DP SNK is only
supposed to work with AVRCP TG implementation on the remote.

Bug: b/27744764
Change-Id: I972cf94f5b276d9b0e08315175ae605ccfe6a423
src/com/android/bluetooth/a2dpsink/mbs/A2dpMediaBrowserService.java