aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index 78b836aa..66339445 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -39,7 +39,6 @@ import github.daneren2005.dsub.util.ShufflePlayBuffer;
import github.daneren2005.dsub.util.SimpleServiceBinder;
import github.daneren2005.dsub.util.Util;
import github.daneren2005.dsub.util.compat.RemoteControlClientHelper;
-import github.daneren2005.dsub.provider.DSubWidgetProvider;
import java.io.File;
import java.util.ArrayList;
@@ -837,7 +836,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
}
boolean show = playerState == PlayerState.STARTED;
- boolean pause = this.playerState == STARTED && playerState == PlayerState.PAUSED;
+ boolean pause = playerState == PlayerState.PAUSED;
boolean hide = playerState == PlayerState.STOPPED;
Util.broadcastPlaybackStatusChange(this, playerState);
@@ -856,9 +855,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
} else {
Util.hidePlayingNotification(this, this, handler);
}
- } else if(playerState == PlayerState.PAUSED) {
- DSubWidgetProvider.getInstance().notifyChange(context, downloadService, true);
- } else if(hide) {
+ } else if(hide) {
Util.hidePlayingNotification(this, this, handler);
}
mRemoteControl.setPlaybackState(playerState.getRemoteControlClientPlayState());