diff --git a/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java b/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java index 35294e3..56c8e39 100644 --- a/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java +++ b/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java @@ -266,6 +266,8 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo SearchFragment fragment = new SearchFragment(); replaceFragment(fragment, fragment.getSupportTag()); } + } else if (intent.getBooleanExtra(Constants.INTENT_EXTRA_NAME_DOWNLOAD, false)) { + openNowPlaying(); } else { setIntent(intent); } @@ -274,6 +276,10 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo } } + public void openNowPlaying() { + startFragmentActivity("Now Playing"); + } + @Override public void onResume() { super.onResume();