|
|
@ -1871,11 +1871,14 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|
|
|
" Tune interval=" + account.poll_interval +
|
|
|
|
" Tune interval=" + account.poll_interval +
|
|
|
|
" idle=" + idleTime + "/" + tune);
|
|
|
|
" idle=" + idleTime + "/" + tune);
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (!state.isRecoverable())
|
|
|
|
if (!state.isRecoverable()) {
|
|
|
|
throw new StoreClosedException(
|
|
|
|
Throwable unrecoverable = state.getUnrecoverable();
|
|
|
|
iservice.getStore(),
|
|
|
|
Exception cause =
|
|
|
|
"Unrecoverable",
|
|
|
|
(unrecoverable instanceof Exception
|
|
|
|
new Exception(state.getUnrecoverable()));
|
|
|
|
? (Exception) unrecoverable
|
|
|
|
|
|
|
|
: new Exception(unrecoverable));
|
|
|
|
|
|
|
|
throw new StoreClosedException(iservice.getStore(), "Unrecoverable", cause);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Sends store NOOP
|
|
|
|
// Sends store NOOP
|
|
|
|
if (EmailService.SEPARATE_STORE_CONNECTION) {
|
|
|
|
if (EmailService.SEPARATE_STORE_CONNECTION) {
|
|
|
|