1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2024-12-24 16:02:44 +01:00

Try to improve reliability of lockscreen controls

This commit is contained in:
Joshua Bahnsen 2013-12-31 00:10:17 -07:00
parent 988206dde9
commit 0881c918be

View File

@ -865,6 +865,8 @@ public class DownloadServiceImpl extends Service implements DownloadService
private synchronized void play(int index, boolean start)
{
updateRemoteControl();
if (index < 0 || index >= size())
{
resetPlayback();