1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 20:10:15 +02:00
Gadgetbridge/app/src/main
Davis Mosenkovs cc5078332b TimeChangeReceiver: Ensure the alarm is set
Ensure TimeChangeReceiver alarm is scheduled when enabling
datetime_synconconnect and registering TimeChangeReceiver broadcast
receiver.

It is important to re-schedule the alarm after registering broadcast
receiver, because:
1. if broadcast receiver was unregistered while previous alarm arrived,
there is no alarm scheduled;
2. re-scheduling the alarm resets the periodic time sync timer when
first device is connected (which is desired).

It is important to re-schedule the alarm when datetime_synconconnect
gets enabled, because there might be no alarm scheduled.

Call onSetTime() when enabling datetime_synconconnect.
2024-02-18 19:12:30 +00:00
..
aidl OsmAnd: Replace IOsmAndAidlInterface unneeded functions 2023-05-21 22:50:52 +02:00
assets Fossil/Skagen Hybrids: Update navigationApp to 1.1 2023-12-23 22:05:51 +01:00
java TimeChangeReceiver: Ensure the alarm is set 2024-02-18 19:12:30 +00:00
proto Xiaomi: fix logic for ability to select widget workout type 2024-01-17 20:16:38 +00:00
res Added support for xiaomi redmi watch 3 (#3582) 2024-02-18 13:55:14 +00:00
AndroidManifest.xml Revert "Device connection: added basic code for scan-reconnect" 2024-02-12 23:30:32 +01:00
lint.xml Lint: Ignore missing and extra translations 2023-10-08 21:46:37 +01:00
project.properties