Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix duplicate notification button on Android 13+ #107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ouabing
Copy link

@ouabing ouabing commented May 31, 2024

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.

20240531-144645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant