Commit Graph
10 Commits
Author SHA1 Message Date
Zhong Jianxin c3a9cf858e Amazfit Bip S: Allow longer notification message 2020-06-16 13:41:26 +08:00
Zhong JianxinandGitea 44a9ce0267 Amazfit Bip S: Music support 2020-06-08 16:16:33 +02:00
Zhong JianxinandGitea c0558c570c Huami: Check if musicSpec/stateSpec is null 2020-06-08 16:16:33 +02:00
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
Zhong Jianxin 8d145917f5 Huami: Use equals to compare musicspec/statespec 2020-05-19 23:08:46 +08:00
Zhong Jianxin fc39221782 Amazfit Bip S: Support setting shortcuts 2020-05-14 10:05:49 +08:00
Zhong Jianxin 0e888aba3a Amazfit Bip S: Fix setting display items 2020-05-14 10:05:39 +08:00
Zhong JianxinandGitea f06c9fb8e7 amazfit bip s: Fix incoming call notification 2020-05-13 23:24:03 +02:00
Zhong JianxinandAndreas Shimokawa b4bbd0323c Combine multipart SMS message into messages by sender
When receive SMS message, instead of generating multiple notifications
by PDU size, after this change, there will be only one notification for
each sender.
2017-11-23 22:26:46 +01:00
Zhong JianxinandAndreas Shimokawa 2f443ad419 Allow WeChat notifications
It seems WeChat always mark its notifications as LocalOnly. The reason
may be to avoid double notifications when using Android Wear watches,
since WeChat has a standalone Android Wear app.

Do not ignore WeChat notifications even if they're marked as LocalOnly.
2017-11-11 16:14:35 +01:00