From c59103c933a8bcfe38772bc5506b97c60a8b07f1 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Wed, 10 Jun 2015 14:18:13 +0200 Subject: [PATCH] Fix some typos. Change-Id: Idd3018a03023efe02c3bcf40b44c8f5a5e304436 --- provider_src/com/android/email/service/ImapService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/provider_src/com/android/email/service/ImapService.java b/provider_src/com/android/email/service/ImapService.java index 2291401b6..b1efa937a 100644 --- a/provider_src/com/android/email/service/ImapService.java +++ b/provider_src/com/android/email/service/ImapService.java @@ -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); } } });