fix in DateTimeTrigger management and executions when service already stopped

This commit is contained in:
2022-04-03 16:20:20 +02:00
parent 152b0c3c49
commit 0d3a13e753
5 changed files with 10 additions and 13 deletions

View File

@@ -222,6 +222,10 @@ public class ActivityControlCenter extends Activity
}
Settings.readFromPersistentStorage(ActivityControlCenter.this);
AutomationService service = AutomationService.getInstance();
if(service != null)
service.applySettingsAndRules();
}
else
Toast.makeText(ActivityControlCenter.this, getResources().getString(R.string.noFilesImported), Toast.LENGTH_LONG).show();