Fix switching to main player when MainActivity is closed

This commit is contained in:
Stypox 2020-11-02 18:06:14 +01:00
parent 2379041125
commit 265896a07e
4 changed files with 18 additions and 4 deletions

View file

@ -1111,7 +1111,9 @@ public final class VideoDetailFragment
// Video view can have elements visible from popup,
// We hide it here but once it ready the view will be shown in handleIntent()
playerService.getView().setVisibility(View.GONE);
if (playerService.getView() != null) {
playerService.getView().setVisibility(View.GONE);
}
addVideoPlayerView();
final Intent playerIntent = NavigationHelper