1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 19:41:46 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents
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
..
gps Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
notifications Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
opentracks Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AlarmClockReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AlarmReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AutoStartReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
BluetoothConnectReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
BluetoothPairingRequestReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
BluetoothStateChangeReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
CalendarReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
CMWeatherReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
DeviceSettingsReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
GenericWeatherReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
IntentApiReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
LineageOsWeatherReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
MusicPlaybackReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
NotificationListener.java Fix crash when receiving empty music state 2024-02-04 20:35:40 +01:00
OmniJawsObserver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
OsmandEventReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
PebbleReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
PhoneCallReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SilentModeReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SMSReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
TimeChangeReceiver.java TimeChangeReceiver: Ensure the alarm is set 2024-02-18 19:12:30 +00:00
TinyWeatherForecastGermanyReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WeatherNotificationConfig.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WeatherNotificationReceiver.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00