mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-27 17:50:57 +02:00
When music player switchs a song, multiple notifications(around 5 in my test) are sent to NotificationListner, during this, MediaControllerCompat does not always get the music info we need, the music info and state seem randomly combined previous song and current one. To avoid unnecessary music info updates, debounce onSetMusicInfo/onSetMusicState calls, so only the last music info and state are sent to the device. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
proguard-rules.pro |