NavigationHelper: push out resumePlayback one layer

This commit is contained in:
Profpatsch 2025-05-04 20:56:27 +02:00
parent 90e1ac56ef
commit b592403a66
2 changed files with 19 additions and 14 deletions

View file

@ -254,7 +254,8 @@ public final class NotificationUtil {
} else {
// We are playing in fragment. Don't open another activity just show fragment. That's it
final Intent intent = NavigationHelper.getPlayerIntent(
player.getContext(), MainActivity.class, null, true);
player.getContext(), MainActivity.class, null);
intent.putExtra(Player.RESUME_PLAYBACK, true);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setAction(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_LAUNCHER);