aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-05-25 17:41:58 -0700
committerScott Jackson <daneren2005@gmail.com>2016-05-25 17:41:58 -0700
commit31707f8a1ba68da9c73b8540df44b931d4e4e723 (patch)
treeae424e2c318c1cb51a6492bf305d962a9ae20ad2 /app/src/main/java
parent2651289aad284b8aef411a6541f3d578898d29b2 (diff)
downloaddsub-31707f8a1ba68da9c73b8540df44b931d4e4e723.tar.gz
dsub-31707f8a1ba68da9c73b8540df44b931d4e4e723.tar.bz2
dsub-31707f8a1ba68da9c73b8540df44b931d4e4e723.zip
Fixes #700: close now playing when viewing artist/album
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java b/app/src/main/java/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java
index 630cdd50..51de1f6c 100644
--- a/app/src/main/java/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java
+++ b/app/src/main/java/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java
@@ -417,6 +417,9 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo
openNowPlaying();
}
} else {
+ if(slideUpPanel.getPanelState() == SlidingUpPanelLayout.PanelState.EXPANDED) {
+ closeNowPlaying();
+ }
setIntent(intent);
}
if(drawer != null) {