Refactoring

pull/214/head
M66B 2 years ago
parent 7f18979613
commit dd14f680b6

@ -158,7 +158,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
private static final String ACTION_NEW_MESSAGE_COUNT = BuildConfig.APPLICATION_ID + ".NEW_MESSAGE_COUNT"; private static final String ACTION_NEW_MESSAGE_COUNT = BuildConfig.APPLICATION_ID + ".NEW_MESSAGE_COUNT";
private static final List<String> PREF_EVAL = Collections.unmodifiableList(Arrays.asList( private static final List<String> PREF_EVAL = Collections.unmodifiableList(Arrays.asList(
"enabled", "poll_interval" // restart account(s) "enabled", "poll_interval", "last_daily" // restart account(s)
)); ));
private static final List<String> PREF_RELOAD = Collections.unmodifiableList(Arrays.asList( private static final List<String> PREF_RELOAD = Collections.unmodifiableList(Arrays.asList(

@ -134,7 +134,6 @@ public class WorkerDailyRules extends Worker {
} finally { } finally {
semaphore.release(); semaphore.release();
EntityLog.log(context, EntityLog.Type.Rules, "Completed daily rules"); EntityLog.log(context, EntityLog.Type.Rules, "Completed daily rules");
ServiceSynchronize.eval(context, "daily");
} }
} }

Loading…
Cancel
Save