@ -224,7 +224,7 @@ public class ActivityControlCenter extends Activity
Settings.readFromPersistentStorage(ActivityControlCenter.this);
AutomationService service = AutomationService.getInstance();
if(service != null)
if(service != null && service.isRunning)
service.applySettingsAndRules();
}
else
@ -5,7 +5,7 @@ buildscript {
jcenter()
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'com.android.tools.build:gradle:7.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files