mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
cc5078332b
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. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
lint-baseline.xml | ||
proguard-rules.pro |