mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Added logging
This commit is contained in:
parent
ae0c2478cf
commit
b331c69331
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||||
public void onChanged(TupleUnsent unsent) {
|
public void onChanged(TupleUnsent unsent) {
|
||||||
if (unsent == null || !unsent.equals(lastUnsent)) {
|
if (unsent == null || !unsent.equals(lastUnsent)) {
|
||||||
lastUnsent = unsent;
|
lastUnsent = unsent;
|
||||||
|
EntityLog.log(ServiceSend.this, "Unsent=" + (unsent == null ? null : unsent.count));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
|
|
Loading…
Reference in a new issue