1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Added logging

This commit is contained in:
M66B 2020-07-29 08:32:15 +02:00
parent ae0c2478cf
commit b331c69331

View file

@ -97,6 +97,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
public void onChanged(TupleUnsent unsent) {
if (unsent == null || !unsent.equals(lastUnsent)) {
lastUnsent = unsent;
EntityLog.log(ServiceSend.this, "Unsent=" + (unsent == null ? null : unsent.count));
try {
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);