mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The hacky workaround for APIs 29/30 doesn't work on API 31. Instead, we can use the onDisplayInfoChanged callback, that is accessible from API 31. PiperOrigin-RevId: 364997282