From 63bbb8b1947130bbdad1ba4faeaa59a640743386 Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Tue, 26 Nov 2013 11:38:43 -0800 Subject: Fix selected position coming from DownloadFragment -> Show Albums --- src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 3 +++ 1 file changed, 3 insertions(+) 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(); -- cgit v1.2.3