OSDN Git Service

Fix bugs in play status and play pos notifications
authorMarie Janssen <jamuraa@google.com>
Tue, 26 Jul 2016 23:23:54 +0000 (16:23 -0700)
committerMarie Janssen <jamuraa@google.com>
Fri, 29 Jul 2016 20:08:50 +0000 (13:08 -0700)
commitfa81085f6cda571d56c62eb1d646ae4a52cb90ee
tree0ebe15062da2b35bec70fae20417662269c64052
parentdf005bf2443da3737b4f9c645b6302d8497acf71
Fix bugs in play status and play pos notifications

Fix multiple issues with status notificatios:
  * Playback state was not being sent when state wasn't sent
    accompanying a metadata change
  * Play state was being sent without an update
  * Position was being sent without a change and with the wrong
    indicator
  * Position was not being scheduled for update when playing.
  * Position was being scheduled for update when paused / stopped.

Bug: 30459664
Bug: 29400658
Bug: 28639383
Change-Id: Ic550dcab0430be45187b0267cc77875740388a2a
src/com/android/bluetooth/avrcp/Avrcp.java