KotlinAudio
KotlinAudio copied to clipboard
fix: fix duplicate notification button on Android 13+
I've noticed some custom systems like ColorOS 13+ (default system on OnePlus and Oppo devices) still support forward and rewind actions, however KotlinAudio will try to add additional custom actions if it's on Android 13+(as https://developer.android.com/about/versions/13/behavior-changes-13?hl=zh-cn#playback-controls suggests), which causes duplicate actions on such kind of devices.
This PR avoids add duplicate controls to exoplayer when we already added custom action buttons.