Fix switching to main player when MainActivity is closed
This commit is contained in:
parent
2379041125
commit
265896a07e
4 changed files with 18 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue