Improved error handling

This commit is contained in:
M66B
2019-06-20 08:39:37 +02:00
parent c81389769e
commit ce9b7e82e2
13 changed files with 100 additions and 76 deletions

View File

@@ -711,7 +711,7 @@ public class ServiceSynchronize extends LifecycleService {
.format(account.last_connected)), ex);
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.notify("receive", account.id.intValue(),
Core.getNotificationError(this, "warning", account.name, warning, false)
Core.getNotificationError(this, "warning", account.name, warning)
.build());
}
}