From eabf60ef2e8511633683ade7d8492d3c0c2b12a7 Mon Sep 17 00:00:00 2001 From: Filipp Mikheev Date: Sun, 8 Sep 2024 04:50:46 -0500 Subject: [PATCH] add to pip.md --- doc/pip.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/pip.md b/doc/pip.md index 50e3224a7..f0a7b1878 100644 --- a/doc/pip.md +++ b/doc/pip.md @@ -115,6 +115,8 @@ override fun onPictureInPictureUiStateChanged(pipState: PictureInPictureUiState) } ``` +Then it should set the `context?.pip` to `PresentationModeChangePipContext.TRANSITIONING_TO_PIP` in the event `PlayerEventType.PRESENTATIONMODE_CHANGE`. + ### PiP controls The PiP window will show the default controls to configure, maximize and close the PiP window.