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

On API < 26, the callback thread couldn't be set and the current compat code assumes it's always the main thread. This isn't true, however, because AudioManager uses the thread on which it was first instantiated anywhere in the app. #cherrypick PiperOrigin-RevId: 731696188