Skip to content

Commit

Permalink
fix(android): disable auto enter when player released
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun committed Dec 15, 2024
1 parent a86189d commit 846412e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,7 @@ private void releasePlayer() {
updateResumePosition();
player.release();
player.removeListener(this);
PictureInPictureUtil.applyAutoEnterEnabled(themedReactContext, pictureInPictureParamsBuilder, false);
if (pipListenerUnsubscribe != null) {
new Handler().post(pipListenerUnsubscribe);
}
Expand Down

0 comments on commit 846412e

Please sign in to comment.