1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-04 03:52:02 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents
Zhong Jianxin 6335b4c86a Debounce onSetMusicInfo/onSetMusicState calls
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.
2020-05-19 23:23:45 +08:00
..
AlarmClockReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
AlarmReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
AutoStartReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
BluetoothConnectReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
BluetoothPairingRequestReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
BluetoothStateChangeReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
CalendarReceiver.java ZeTime: Fix could not synchronize calendar on connect 2020-05-05 14:11:46 +02:00
CMWeatherReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
LineageOsWeatherReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
MusicPlaybackReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
NotificationListener.java Debounce onSetMusicInfo/onSetMusicState calls 2020-05-19 23:23:45 +08:00
OmniJawsObserver.java Update license headers 2020-01-09 10:44:32 +01:00
PebbleReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
PhoneCallReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
SMSReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
TimeChangeReceiver.java Update license headers 2020-01-09 10:44:32 +01:00
WeatherNotificationConfig.java Update license headers 2020-01-09 10:44:32 +01:00
WeatherNotificationReceiver.java Update license headers 2020-01-09 10:44:32 +01:00