diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-09-04 20:08:55 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-09-04 20:08:55 -0700 |
commit | 4e16b1d44ae501dffa50d5224111745aa82d89b7 (patch) | |
tree | bcaf9703aa94b4debb9538b87304b86a0244344e /subsonic-android/src/github | |
parent | 09908a951a29580a43775fff02fe4d472b8efa34 (diff) | |
download | dsub-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.java | 4 |
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) { |