diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-11-26 11:38:43 -0800 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-11-26 11:38:43 -0800 |
commit | 63bbb8b1947130bbdad1ba4faeaa59a640743386 (patch) | |
tree | ff8f731508b8bef3511fcd569ea9a99608c3b987 | |
parent | 9e52c5901e11a29b43b26db79e837f0a3279f6bb (diff) | |
download | dsub-63bbb8b1947130bbdad1ba4faeaa59a640743386.tar.gz dsub-63bbb8b1947130bbdad1ba4faeaa59a640743386.tar.bz2 dsub-63bbb8b1947130bbdad1ba4faeaa59a640743386.zip |
Fix selected position coming from DownloadFragment -> Show Albums
-rw-r--r-- | src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java index 5cee3093..655cce7b 100644 --- a/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java +++ b/src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java @@ -272,6 +272,9 @@ public class SubsonicFragmentActivity extends SubsonicActivity { replaceFragment(fragment, fragmentID, currentFragment.getSupportTag());
getIntent().removeExtra(Constants.INTENT_EXTRA_VIEW_ALBUM);
+ if("Artist".equals(getIntent().getStringExtra(Constants.INTENT_EXTRA_FRAGMENT_TYPE))) {
+ lastSelectedPosition = 1;
+ }
}
executorService = Executors.newSingleThreadScheduledExecutor();
|