OSDN Git Service

AVRCP: Fix getFolderItems with all items request
authorMarie Janssen <jamuraa@google.com>
Wed, 15 Feb 2017 17:52:44 +0000 (09:52 -0800)
committerMarie Janssen <jamuraa@google.com>
Mon, 24 Apr 2017 17:54:18 +0000 (10:54 -0700)
commitce0f15c8598a1e570faf80bbc60e0568d2d20d45
tree1c4b8995f0761761fc41ef94c3b4603c00bfce5e
parent90005b32854f4ffd9d4f352aef91112702294a7e
AVRCP: Fix getFolderItems with all items request

start item and end item are uint32_t
0xFFFFFFFF is commonly used as an indicator for "all items" end value.

Using a jint (int32_t) doesn't work, use jlong instead.

Test: browse with audi kit
Bug: 35385700
Bug: 36645066
Change-Id: I364f70a8b985796a6bcc83148a4ecc368a0c0493
(cherry picked from commit aabff2d74224e1d122a2ae767330a69b9324779e)
jni/com_android_bluetooth_avrcp.cpp
src/com/android/bluetooth/avrcp/AddressedMediaPlayer.java
src/com/android/bluetooth/avrcp/Avrcp.java
src/com/android/bluetooth/avrcp/AvrcpHelperClasses.java
src/com/android/bluetooth/avrcp/BrowsedMediaPlayer.java