From 0881c918be732f76c4009422d338d9741328f95b Mon Sep 17 00:00:00 2001 From: Joshua Bahnsen Date: Tue, 31 Dec 2013 00:10:17 -0700 Subject: [PATCH] Try to improve reliability of lockscreen controls --- .../ultrasonic/androidapp/service/DownloadServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/thejoshwa/ultrasonic/androidapp/service/DownloadServiceImpl.java b/src/com/thejoshwa/ultrasonic/androidapp/service/DownloadServiceImpl.java index 7c2c9822..10458d32 100644 --- a/src/com/thejoshwa/ultrasonic/androidapp/service/DownloadServiceImpl.java +++ b/src/com/thejoshwa/ultrasonic/androidapp/service/DownloadServiceImpl.java @@ -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();