mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-01-23 23:34:53 +03:00
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();
|
SearchFragment fragment = new SearchFragment();
|
||||||
replaceFragment(fragment, fragment.getSupportTag());
|
replaceFragment(fragment, fragment.getSupportTag());
|
||||||
}
|
}
|
||||||
|
} else if (intent.getBooleanExtra(Constants.INTENT_EXTRA_NAME_DOWNLOAD, false)) {
|
||||||
|
openNowPlaying();
|
||||||
} else {
|
} else {
|
||||||
setIntent(intent);
|
setIntent(intent);
|
||||||
}
|
}
|
||||||
@ -274,6 +276,10 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void openNowPlaying() {
|
||||||
|
startFragmentActivity("Now Playing");
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onResume() {
|
public void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
Loading…
Reference in New Issue
Block a user