mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
1d3cd1d44f
commit
b2b48be05c
|
@ -442,7 +442,7 @@ public class ServiceSend extends ServiceBase {
|
||||||
|
|
||||||
long now = new Date().getTime();
|
long now = new Date().getTime();
|
||||||
long delayed = now - message.last_attempt;
|
long delayed = now - message.last_attempt;
|
||||||
if (delayed > IDENTITY_ERROR_AFTER * 60 * 1000L || ex instanceof SendFailedException) {
|
if (delayed > IDENTITY_ERROR_AFTER * 60 * 1000L) {
|
||||||
Log.i("Reporting send error after=" + delayed);
|
Log.i("Reporting send error after=" + delayed);
|
||||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
nm.notify("send:" + message.identity, 1,
|
nm.notify("send:" + message.identity, 1,
|
||||||
|
|
Loading…
Reference in New Issue