mirror of
https://github.com/androidx/media.git
synced 2025-05-04 14:10:40 +08:00

On some devices/builds it seems that the `SurfaceView` constructor tries to create a handler. Move instantiation to the main thread when getting the debug surface view so that handler creation succeeds. PiperOrigin-RevId: 505745387