OSDN Git Service

AVRCP: Don't assume 0:00 on metadata change
authorMarie Janssen <jamuraa@google.com>
Fri, 15 Apr 2016 21:57:04 +0000 (14:57 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 19 Apr 2016 17:35:33 +0000 (17:35 +0000)
commite2c4671a8c5d01f053b5b8e0c728d69d561abdc2
treef3f3e7c8b61ac2e85258c020adb2cc45f368b173
parent049173d572891011cc01f675d8bd0227ef55e381
AVRCP: Don't assume 0:00 on metadata change

When changing between apps, and changing between songs, the Media
framework sends us the position data before the metadata, so
setting it to 0 wipes out our position.

Fixes: 27745277
Change-Id: I2d309df424c8889928da9601b367d488bba89919
src/com/android/bluetooth/avrcp/Avrcp.java