From eec04663feb74ead2c9a1cb6942da57493740230 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Fri, 20 Nov 2009 12:10:23 -0800 Subject: [PATCH] Fix improper constant to allow retry for sending Exchange mail * Related to MR1 triaged bug 2274389 in which mail was stuck in the Outbox and wouldn't send * It turns out an improper constant was being used in the SQL code for turning off the "error" state flag Change-Id: Ic1a2e5b9dd34ec3f9d7da0b3d2cd63d77bb7681e --- src/com/android/exchange/SyncManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/exchange/SyncManager.java b/src/com/android/exchange/SyncManager.java index ece930cf7..68aa7de7e 100644 --- a/src/com/android/exchange/SyncManager.java +++ b/src/com/android/exchange/SyncManager.java @@ -142,7 +142,7 @@ public class SyncManager extends Service implements Runnable { protected static final String WHERE_IN_ACCOUNT_AND_PUSHABLE = MailboxColumns.ACCOUNT_KEY + "=? and type in (" + Mailbox.TYPE_INBOX + ',' + Mailbox.TYPE_EAS_ACCOUNT_MAILBOX + ',' + Mailbox.TYPE_CONTACTS + ')'; - private static final String WHERE_MAILBOX_KEY = EmailContent.RECORD_ID + "=?"; + private static final String WHERE_MAILBOX_KEY = Message.MAILBOX_KEY + "=?"; private static final String WHERE_PROTOCOL_EAS = HostAuthColumns.PROTOCOL + "=\"" + AbstractSyncService.EAS_PROTOCOL + "\""; private static final String WHERE_NOT_INTERVAL_NEVER_AND_ACCOUNT_KEY_IN =