Skip to content

Check if Activity is in picture-in-picture mode#89

Open
MattiasBuelens wants to merge 10 commits intodevelopfrom
bugfix/activity-pip
Open

Check if Activity is in picture-in-picture mode#89
MattiasBuelens wants to merge 10 commits intodevelopfrom
bugfix/activity-pip

Conversation

@MattiasBuelens
Copy link
Collaborator

Right now, Player.pictureInPicture only returns true when THEOplayer's PiPManager.isInPiP() is true. However, if the activity has entered picture-in-picture mode without using the THEOplayer API, then the UI won't update correctly.

This fixes that by also checking for Activity.isInPictureInPictureMode in Player.pictureInPicture.

@MattiasBuelens MattiasBuelens requested a review from ceyhun-o March 20, 2026 12:20
@MattiasBuelens MattiasBuelens added the bug Something isn't working label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants