bug when importing config while service is not running

This commit is contained in:
2022-05-08 20:04:45 +02:00
parent 9fce7d987e
commit 52a10fe626
3 changed files with 8 additions and 13 deletions

View File

@ -252,15 +252,5 @@ public class ActivityMainRules extends ActivityGeneric
}
catch(NullPointerException e)
{}
try
{
if(AutomationService.isMyServiceRunning(this))
DateTimeListener.reloadAlarms();
}
catch(NullPointerException e)
{
// AlarmManager instance not prepared, yet.
}
}
}