Autostart error fixed

This commit is contained in:
Jens
2023-01-16 23:44:28 +01:00
parent 52edfa32df
commit a9646cbf28
4 changed files with 12 additions and 5 deletions

View File

@ -11,12 +11,13 @@ import com.jens.automation2.Settings;
public class StartupIntentReceiver extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
Settings.readFromPersistentStorage(context);
Miscellaneous.startupContext = context;
// Miscellaneous.logEvent("i", "Boot event", "Received event: " + intent.getAction(), 5);
if(Settings.startServiceAtSystemBoot)