Tags: SomethingExplosive/android_packages_apps_Music
Tags
Fixed the Music app crash issue when the repeat button is disabled. When the music application is set to REPEAT_NONE mode, the mNextMediaPlayer didn't set to null. Therefore, the music would play next song, but the index is invaild and causes the app crash. Change-Id: I991ab50a05636ad3e14ea826cf9a43af7dacdb0a Signed-off-by: Jun Tian <[email protected]> Signed-off-by: Zhu Yanglin <[email protected]>
Music: Music Force Close when the last song is end and repeat is closed. getCursorForId(mPlayList[mPlayPos]) will cause ArrayIndexOutOfBoundsException so need to check the index of mPlayList before use it. Change-Id: I31e69c48a241310ec9418d147cc980bdcc81e31e Author: Jun Wu <[email protected]> Signed-off-by: Jun Wu <[email protected]> Signed-off-by: Shuo Gao <[email protected]> Signed-off-by: Bruce Beare <[email protected]> Signed-off-by: Jack Ren <[email protected]> Author-tracking-BZ: 57322