8 Commits

Author SHA1 Message Date
azuo
9f47d626a9 setExact is more reliable than setRepeating on some ROMs (e.g., MIUI). 2021-09-13 23:24:58 +08:00
azuo
3ab42fd163 Correct and improve calendar events updating algorithm.
1. UpdateCalendarService will fetch all events from now to the next fetch time + Preferences.showUntil, so that EventRepository holds all events need to be shown before the next fetch;
2. Every event is updated 1 minute after the corresponding time span, to make the actual time difference consistent with the displayed getRelativeTimeSpanString;
3. Update events only when necessary, eliminate redundant alarms; cancel all update alarms when showEvents is turned off.
2021-09-03 18:20:01 +08:00
Azuo
260e36b305 Show & hide all-day events at the right time. 2021-08-15 19:13:46 +08:00
Tommaso Berlose
cce86a970c Fix #278 2021-01-14 14:14:00 +01:00
Tommaso Berlose
c389d50b09 Fix background service error 2021-01-12 09:51:00 +01:00
Tommaso Berlose
06583197c7 Fix widget refresh intent 2021-01-11 09:42:55 +01:00
Tommaso Berlose
24bb811f93 Fix update calendar service 2021-01-10 15:54:54 +01:00
Tommaso Berlose
34fb35f2ab Fix #262 2021-01-10 12:48:17 +01:00