ExoPlayer
ExoPlayer copied to clipboard
Stuck Surface
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
Any idea?