1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Throwing the Exception will, at least, cause the exponential back-off

to take effect.
This commit is contained in:
Daniel Applebaum 2010-02-13 15:14:28 +00:00
parent 58048a4e19
commit 645ce28e18

View File

@ -4262,7 +4262,6 @@ public class MessagingController implements Runnable
notif.ledOnMS = K9.NOTIFICATION_LED_ON_TIME;
notif.ledOffMS = K9.NOTIFICATION_LED_OFF_TIME;
notif.number = unreadMessageCount;
notifMgr.notify(account.getAccountNumber(), notif);
}
@ -4561,7 +4560,7 @@ public class MessagingController implements Runnable
{
if (K9.DEBUG)
Log.i(K9.LOG_TAG, "SD card not mounted: skipping reception of pushed messages: account=" + account.getDescription() + ", folder=" + remoteFolder.getName() + ", message count=" + messages.size());
return;
throw new RuntimeException("SD card unavailable/required");
}
LocalFolder localFolder = null;