mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00

AudioManager internally assumes the thread is was created on can be used as a callback thread. Since the AudioManager is only created once in the lifetime of an app, we need to make sure its obtained on a thread that stays alive. #cherrypick PiperOrigin-RevId: 732072255