mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-03 19:41:46 +02:00
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. |
||
---|---|---|
.. | ||
gps | ||
notifications | ||
opentracks | ||
AlarmClockReceiver.java | ||
AlarmReceiver.java | ||
AutoStartReceiver.java | ||
BluetoothConnectReceiver.java | ||
BluetoothPairingRequestReceiver.java | ||
BluetoothStateChangeReceiver.java | ||
CalendarReceiver.java | ||
CMWeatherReceiver.java | ||
DeviceSettingsReceiver.java | ||
GenericWeatherReceiver.java | ||
IntentApiReceiver.java | ||
LineageOsWeatherReceiver.java | ||
MusicPlaybackReceiver.java | ||
NotificationListener.java | ||
OmniJawsObserver.java | ||
OsmandEventReceiver.java | ||
PebbleReceiver.java | ||
PhoneCallReceiver.java | ||
SilentModeReceiver.java | ||
SMSReceiver.java | ||
TimeChangeReceiver.java | ||
TinyWeatherForecastGermanyReceiver.java | ||
WeatherNotificationConfig.java | ||
WeatherNotificationReceiver.java |