-
-
Save hitherejoe/4273818c2195b54fd29d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onPause() { | |
super.onPause(); | |
if (!inPictureInPicture() && mVideoView.isPlaying()) { | |
if (!requestVisibleBehind(true)) { | |
playPause(false); | |
} else { | |
requestVisibleBehind(false); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment