|
|
@ -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,
|
|
|
|