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);