diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-05-25 17:41:58 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-05-25 17:41:58 -0700 |
commit | 31707f8a1ba68da9c73b8540df44b931d4e4e723 (patch) | |
tree | ae424e2c318c1cb51a6492bf305d962a9ae20ad2 /app/src | |
parent | 2651289aad284b8aef411a6541f3d578898d29b2 (diff) | |
download | dsub-31707f8a1ba68da9c73b8540df44b931d4e4e723.tar.gz dsub-31707f8a1ba68da9c73b8540df44b931d4e4e723.tar.bz2 dsub-31707f8a1ba68da9c73b8540df44b931d4e4e723.zip |
Fixes #700: close now playing when viewing artist/album
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 3 |
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) { |