mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-16 11:28:40 +00:00
Update Settings.mc
Do not cancel the background service just because we show the app's glance.
This commit is contained in:
@ -71,12 +71,6 @@ class Settings {
|
||||
Background.deleteTemporalEvent();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Explicitly disable the background events for glances and ironically any use by the background service. However
|
||||
// that has been avoided more recently by not using this object in BackgroundServiceDelegate.
|
||||
if ((System has :ServiceDelegate) and (Background.getTemporalEventRegisteredTime() != null)) {
|
||||
Background.deleteTemporalEvent();
|
||||
}
|
||||
}
|
||||
if (Globals.scDebug) {
|
||||
System.println("Settings update(): getTemporalEventRegisteredTime() = " + Background.getTemporalEventRegisteredTime());
|
||||
|
Reference in New Issue
Block a user