Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ Android: implement a special event for early transitioning to PiP (on animation start) #377

Conversation

kot331107
Copy link
Contributor

Summary:
Implementation for https://developer.android.com/reference/android/app/PictureInPictureUiState#isTransitioningToPip() to set the PiP states a bit earlier on Android. Impacts only Android 15+ devices.

Test-Plan:

  1. Run the test app on Android API 35 (Android 15)
  2. watch a VOD
  3. move it to PiP
  4. return to the app via X close or via maximize button on the PiP frame
  5. Expected: PiP works as expected

Repeat the same on API 34 (Android 14) to be sure nothing has been broken.

@tvanlaerhoven tvanlaerhoven self-requested a review September 11, 2024 12:12
@tvanlaerhoven tvanlaerhoven added the enhancement New feature or request label Sep 11, 2024
@tvanlaerhoven tvanlaerhoven force-pushed the Android-implement-transitioning-to-PiP branch from bfd5b54 to edcbf41 Compare September 11, 2024 12:38
@tvanlaerhoven
Copy link
Member

Looking good, thanks @kot331107

@tvanlaerhoven tvanlaerhoven force-pushed the Android-implement-transitioning-to-PiP branch from edcbf41 to ed681ae Compare October 2, 2024 09:29
@tvanlaerhoven tvanlaerhoven force-pushed the Android-implement-transitioning-to-PiP branch from ed681ae to eabf60e Compare October 23, 2024 10:35
@tvanlaerhoven tvanlaerhoven merged commit 4fde26e into THEOplayer:develop Oct 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants