fix crash
This commit is contained in:
parent
095d65e79d
commit
55104236ff
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ class AutomationPlugin @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
internal fun processActions() {
|
internal fun processActions() {
|
||||||
|
if (!config.appInitialized) return
|
||||||
var commonEventsEnabled = true
|
var commonEventsEnabled = true
|
||||||
if (loop.isSuspended || !(loop as PluginBase).isEnabled()) {
|
if (loop.isSuspended || !(loop as PluginBase).isEnabled()) {
|
||||||
aapsLogger.debug(LTag.AUTOMATION, "Loop deactivated")
|
aapsLogger.debug(LTag.AUTOMATION, "Loop deactivated")
|
||||||
|
|
Loading…
Reference in a new issue