Switch to Now Playing when selecting media
Back stack is currently broken
This commit is contained in:
parent
3ebb48682b
commit
687f64c115
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue