google / google/ExoPlayer

Stuck Surface

Open
#10,550 1 comment 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
needs triage question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

We have player in embedded (player in layout with details) and fullscreen mode. Embedded and fullscreen mode are two `Activity`. When a user tap on fullscreen button, `ViewGroup` that contains controls and `SurfaceView`, `GLSurfaceView` or `TextureView` is removed from "embedded" `Activity` and added into "fullscreen" `Activity` that is started. This method works on all Androids from 5 to 11 and 13 (emulator), but not on Android 12. `SurfaceView` or `GLSurfaceView` is stuck and does not scroll in layout. Only `TextureView` works correctly. Could you please help us? What was changed and what we should do to fix the issue?

ExoPlayer version is 2.15.1.

Thanks

https://user-images.githubusercontent.com/62881052/186257136-27355988-b533-4172-a955-2f325cf17307.mp4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.