More fixes with opening VideoDetailFragment

This commit is contained in:
Stypox 2020-10-31 20:26:09 +01:00
parent d17308c711
commit 429ba53016
13 changed files with 87 additions and 170 deletions

View file

@ -1097,7 +1097,7 @@ public final class VideoDetailFragment
private void openMainPlayer() {
if (playerService == null) {
PlayerHolder.startService(App.getApp(), true, this);
PlayerHolder.startService(App.getApp(), autoPlayEnabled, this);
return;
}
if (currentInfo == null) {
@ -1112,7 +1112,7 @@ public final class VideoDetailFragment
addVideoPlayerView();
final Intent playerIntent = NavigationHelper
.getPlayerIntent(requireContext(), MainPlayer.class, queue, null, true);
.getPlayerIntent(requireContext(), MainPlayer.class, queue, true, autoPlayEnabled);
activity.startService(playerIntent);
}