3e25adee90d4594ff622bf5f5174333556b7c136 |
|
23-Jun-2017 |
Ajay Panicker <apanicke@google.com> |
AVRCP: Fix NowPlayingList looping When a controller requested GetFolderItems, we would sometimes send a NowPlayingListChanged before responding to GetFolderItems, prompting a new GetFolderItems request. This put us in an infinite loop. Test: connect to BMW and note it actually works Bug: 62775732 Change-Id: Idc669a03f71ed9ec6b211bb5c33fc98548cc9f85 (cherry picked from commit d65422f9b47bff59b12162fc51032eb633f0722f)
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/AvrcpMediaRspInterface.java
|
bdcf510515b5b251b0b88ba3c05937661ca5da3f |
|
24-Mar-2017 |
Marie Janssen <jamuraa@google.com> |
AVRCP: Passthrough through MediaSessionService Send passthrough keys through MediaSessionService instead of trying to interpret them ourselves, and log who they get dispatched to. Remove the hack around down fast-forward / rewind. This should result in a lot less confusion about which app is addressed when the user is sending a command (such as at car connection time). Test: play / skip, switch app on phone, reboot, start from carkit, dumpsys logs Bug: 33828042 Bug: 37476911 Change-Id: I8c8c40cb3792254a3720f64707e67fdcc940edaa (cherry picked from commit 44a4da788f878d1946301dbf297dd7b938dfd730)
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/AvrcpMediaRspInterface.java
|
601a396cdc635a5a6dc5a528c5b775e960822387 |
|
22-Jun-2016 |
Avish Shah <avish.shah@broadcom.com> |
AVRCP 1.6: media browsing support on Target(3/3) Description:- This patch provides Media browsing support for AVRCP using new Media Browsing APIs provided from Android 5.0 Features:- 1) setAddressedPlayer - Change the control to the specified player 2) setBrowsedPlayer - Change the player with which fileSystem is being browsed Browsing commands: 3) getFolderItems scope=MediaPlayers/VFS/NowPlaying 4) changePath 5) getItemAttributes 6) playItem 7) getTotalNumberOfItems Handling notifications:- 1) ADDRESSED_PLAYER_CHANGED 2) AVAILABLE_PLAYERS_CHANGED 3) NOW_PLAYING_CONTENT_CHANGED Added support for dual RC New files added:- AvrcpHelperClasses.java - Helper classes used for callback/response of browsing commands. AvrcpConstants.java - Group all the constants used in Avrcp. AddressedMediaPlayer.java - Interface to communicate with media controller for NowPlayingItems. BrowseMediaPlayer.java - Interface to communicate with MediaPlayer for browsing FileSystem. AvrcpMediaRspInterface.java - Interface to communicate with the native layer. Verification:- AVRCP 1.5/1.6 functionality has been verified with google MediaBrowserService sample app. Bug: 19361366 Change-Id: I40b9e7aae81d994a709559844928b0749c603ea8
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/AvrcpMediaRspInterface.java
|