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

This change avoids using a framework API that is deprecated since API 31 and works around difficulties with this deprecated API on devices from some manufacturers on API 33/34. Manually tested with BT headphone connected to: - Samsung SM-G920F (API 24) - Pixel (API 28) - Samsung SM-A515W (API 33) - Pixel 6 Pro (API 33) (verified manually with devices and adb output of dumpsys) Issue: androidx/media#167 PiperOrigin-RevId: 562890206