Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e91d4b29 authored by koh.changseok's avatar koh.changseok Committed by Ajay Panicker
Browse files

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 38506165)
parent d5bb9ffd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment