OSDN Git Service

AVRCP: synchronize with better granularity
authorMarie Janssen <jamuraa@google.com>
Tue, 25 Apr 2017 21:07:42 +0000 (14:07 -0700)
committerMarie Janssen <jamuraa@google.com>
Wed, 26 Apr 2017 18:01:27 +0000 (11:01 -0700)
commit8cd453176a070f0627d64fc2f3e34b8258d2e9a7
treeb7deb505c22a84f2e48ac769e4cb59f2f28cc3ca
parent189938f036ebfcc479187c15c6be3cc670a3437a
AVRCP: synchronize with better granularity

Make synchronization more granular by synchronizing on the objects
actually being used.

Fix missing synchronization on mMediaPlayerInfoList.

Test: basic smoke test with multiple players
Change-Id: Iec451dca2c51ec6f6f35a1d0a28f2c4dd52db722
Fixes: 37651901
(cherry picked from commit a303cd6e430b887aa2c74fe585a323617d1837ab)
src/com/android/bluetooth/avrcp/Avrcp.java