aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-09-04 20:08:55 -0700
committerScott Jackson <daneren2005@gmail.com>2012-09-04 20:08:55 -0700
commit4e16b1d44ae501dffa50d5224111745aa82d89b7 (patch)
treebcaf9703aa94b4debb9538b87304b86a0244344e /subsonic-android/src/github
parent09908a951a29580a43775fff02fe4d472b8efa34 (diff)
downloaddsub-4e16b1d44ae501dffa50d5224111745aa82d89b7.tar.gz
dsub-4e16b1d44ae501dffa50d5224111745aa82d89b7.tar.bz2
dsub-4e16b1d44ae501dffa50d5224111745aa82d89b7.zip
Revert, cause other issues fixing #15
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index 9ccb67a4..b7f6813e 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -692,7 +692,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
}
boolean show = this.playerState == PAUSED && playerState == PlayerState.STARTED;
- boolean hide = this.playerState == STARTED && (playerState == PlayerState.PAUSED || playerState == PlayerState.IDLE);
+ boolean hide = this.playerState == STARTED && playerState == PlayerState.PAUSED;
Util.broadcastPlaybackStatusChange(this, playerState);
this.playerState = playerState;
@@ -702,8 +702,10 @@ public class DownloadServiceImpl extends Service implements DownloadService {
if (show) {
Util.showPlayingNotification(this, this, handler, currentPlaying.getSong());
+ Log.d(TAG, "Showing");
} else if (hide) {
Util.hidePlayingNotification(this, this, handler);
+ Log.d(TAG, "Hiding");
}
if (playerState == STARTED) {