OSDN Git Service

Eleven: Show error message for corrupt tracks (additional codepaths)
authorlinus_lee <llee@cyngn.com>
Tue, 23 Dec 2014 01:18:39 +0000 (17:18 -0800)
committerSteve Kondik <shade@chemlab.org>
Sat, 27 Dec 2014 12:27:00 +0000 (12:27 +0000)
commitdc144e3c1f422dba925b0a62cbb87b7c024ef1b7
tree355b34c12e90c5ee4e4873f2308343ed7df13702
parent04f294bf3896f10c85a46c998be03856e2a68073
Eleven: Show error message for corrupt tracks (additional codepaths)

Add showing error message for code paths where the media player fails gracefully
Unfortunately adding the logic to remove the bad track is not trivial because the
removeTracks logic automatically does other things to try to go to the next track.
For now I will leave the logic so that it goes on to the next track and make a note
on the music service rewrite notes to cover this scenario as well.

Change-Id: Ib7ae5ce7819b15cdb3ada4995bc0734ab2d9b0a2
res/values/strings.xml
src/com/cyanogenmod/eleven/MusicPlaybackService.java