commit | e91d4b292625907ccd8f1aa30a3dccf623c886e7 | [log] [tgz] |
---|---|---|
author | koh.changseok <koh.changseok@lge.com> | Fri Jul 28 20:19:21 2017 +0900 |
committer | Ajay Panicker <apanicke@google.com> | Mon Aug 07 14:21:19 2017 -0700 |
tree | 5b1327af0b17f217a7ccd888728d4173d4ea4206 | |
parent | d5bb9ffd9d9afe5c1d0548eb23d016e3ac616bbd [diff] |
AVRCP: Fix unexpected index out of bounds exception On function checkIndexOutofBounds(), if endItem value equals to the MediaItem list, then there will be 'IndexOutOfBoundsException'. As sub list end value is endItem + 1, endItem shall be smaller value than list size. Bug: 64137660 Test: Code compiles Change-Id: I6d2dc705451cf1f515c8fbfd4ba24ac49dc4271d (cherry picked from commit 3850616551e6fb0a7ab0546ef68e0f74fa3536be)