diff options
Diffstat (limited to 'subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java index ac20fe70..aeddcf4f 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java @@ -38,8 +38,7 @@ public class SearchActivity extends SubsonicActivity { if (findViewById(R.id.download_container) != null && savedInstanceState == null) { currentFragment = new SearchFragment(); currentFragment.setPrimaryFragment(true); - currentFragmentId = R.id.download_container; - getSupportFragmentManager().beginTransaction().add(R.id.download_container, currentFragment).commit(); + getSupportFragmentManager().beginTransaction().add(R.id.download_container, currentFragment, currentFragment.getSupportTag() + "").commit(); } getSupportActionBar().setDisplayHomeAsUpEnabled(true); |