Fix some typos.

Change-Id: Idd3018a03023efe02c3bcf40b44c8f5a5e304436
This commit is contained in:
Danny Baumann 2015-06-10 14:18:13 +02:00 committed by Steve Kondik
parent 006ea81b71
commit c59103c933

View File

@ -109,7 +109,7 @@ public class ImapService extends Service {
private static final Flag[] FLAG_LIST_ANSWERED = new Flag[] { Flag.ANSWERED };
// Kick idle connection every 25 minutes
private static final int KICK_IDLE_CONNETION_TIMEOUT = 25 * 60 * 1000;
private static final int KICK_IDLE_CONNECTION_TIMEOUT = 25 * 60 * 1000;
private static final int ALARM_REQUEST_KICK_IDLE_CODE = 1000;
/**
@ -294,7 +294,7 @@ public class ImapService extends Service {
private void scheduleKickIdleConnection() {
PendingIntent pi = getKickIdleConnectionPendingIntent();
long due = System.currentTimeMillis() + KICK_IDLE_CONNETION_TIMEOUT;
long due = System.currentTimeMillis() + KICK_IDLE_CONNECTION_TIMEOUT;
AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);
am.set(AlarmManager.RTC, due, pi);
}
@ -914,8 +914,8 @@ public class ImapService extends Service {
ImapIdleFolderHolder holder = ImapIdleFolderHolder.getInstance();
holder.kickIdledMailbox(context, mailbox, account);
} catch (Exception e) {
LogUtils.e(Logging.LOG_TAG,"Failed to kick idled connection "
+ "for mailbox " + mailboxId, e);
LogUtils.e(Logging.LOG_TAG, e, "Failed to kick idled connection "
+ "for mailbox " + mailboxId);
}
}
});