diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-04-30 21:36:42 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-04-30 21:36:42 -0700 |
commit | 9b50d192a35c4d5ff14d18cdc0bc1dda4e93997d (patch) | |
tree | f6ca3014f8da630e628f25e60331e0a9f4852e45 /subsonic-android | |
parent | 7961a0d41fcdd6c6a6ebf35c3af518be8f37bbac (diff) | |
download | dsub-9b50d192a35c4d5ff14d18cdc0bc1dda4e93997d.tar.gz dsub-9b50d192a35c4d5ff14d18cdc0bc1dda4e93997d.tar.bz2 dsub-9b50d192a35c4d5ff14d18cdc0bc1dda4e93997d.zip |
Fix context menus on initial fragment
Diffstat (limited to 'subsonic-android')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java | 1 | ||||
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java index b78724da..f229421e 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java @@ -56,6 +56,7 @@ public class DownloadActivity extends SubsonicActivity { if (findViewById(R.id.download_container) != null && savedInstanceState == null) { currentFragment = new DownloadFragment(); + currentFragment.setPrimaryFragment(true); getSupportFragmentManager().beginTransaction().add(R.id.download_container, currentFragment).commit(); } diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java index ec19057c..c06203f7 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SearchActivity.java @@ -35,6 +35,7 @@ public class SearchActivity extends SubsonicActivity { if (findViewById(R.id.download_container) != null && savedInstanceState == null) { currentFragment = new SearchFragment(); + currentFragment.setPrimaryFragment(true); getSupportFragmentManager().beginTransaction().add(R.id.download_container, currentFragment).commit(); } |