mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
6335b4c86a
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 |