Update Settings.mc

Do not cancel the background service just because we show the app's glance.
This commit is contained in:
Philip Abbey
2024-01-07 19:12:03 +00:00
parent 24ebc72080
commit 874ced99c2

View File

@ -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());