Drop some assumptions on how PlayerService is started and reused

Read the comments in the lines changed to understand more
This commit is contained in:
Stypox 2025-02-15 17:48:13 +01:00
parent c6e1721884
commit b764ad33c4
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
4 changed files with 43 additions and 21 deletions

View file

@ -96,6 +96,7 @@ public final class NavigationHelper {
}
intent.putExtra(Player.PLAYER_TYPE, PlayerType.MAIN.valueForIntent());
intent.putExtra(Player.RESUME_PLAYBACK, resumePlayback);
intent.putExtra(PlayerService.SHOULD_START_FOREGROUND_EXTRA, true);
return intent;
}