Skip to content
Snippets Groups Projects
Commit cfe99e54 authored by Duncan McNamara's avatar Duncan McNamara Committed by Nicolas Pomepuy
Browse files

PiP: screen off shouln't set pip to false

In the onStop of the VideoPlayerActivity, isInPiPMode is set to off so
that when reopening the player, it resumes normally.

If the PiP is running, and the screen is turned off, onStop will be
called, and when turning the screen on, the player will resume with
isInPipMode false, but PiP actually not running which triggers the
HUD. Checking in the onStop if the screen is off stops PiP from
being disabled.
parent 74eddbbf
No related branches found
No related tags found
1 merge request!1964PiP: screen off shouln't set pip to false
Pipeline #510463 passed with stage
in 4 minutes and 55 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment