1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Improved logging

This commit is contained in:
M66B 2020-01-12 15:54:30 +01:00
parent f279a6c504
commit 3eb38a04ce

View file

@ -492,7 +492,7 @@ public class ServiceUI extends IntentService {
long interval = pollInterval * 60 * 1000L; long interval = pollInterval * 60 * 1000L;
long next = now + interval - now % interval; long next = now + interval - now % interval;
Log.i("Poll next=" + new Date(next)); EntityLog.log(context, "Poll next=" + new Date(next));
AlarmManagerCompat.setAndAllowWhileIdle(am, AlarmManager.RTC_WAKEUP, next, piSync); AlarmManagerCompat.setAndAllowWhileIdle(am, AlarmManager.RTC_WAKEUP, next, piSync);
} }