From a27291faac56abacd0451427aedc3b9e789c7bd0 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Sat, 22 Aug 2009 11:42:51 -0700 Subject: [PATCH] Fix bug re: parsing EAS 12 flags that caused missed messages, etc. * This is bug #2071068 --- src/com/android/exchange/adapter/EmailSyncAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/exchange/adapter/EmailSyncAdapter.java b/src/com/android/exchange/adapter/EmailSyncAdapter.java index f9aae9bf3..6762d4ba8 100644 --- a/src/com/android/exchange/adapter/EmailSyncAdapter.java +++ b/src/com/android/exchange/adapter/EmailSyncAdapter.java @@ -199,7 +199,7 @@ public class EmailSyncAdapter extends AbstractSyncAdapter { while (nextTag(Tags.EMAIL_FLAG) != END) { switch (tag) { case Tags.EMAIL_FLAG_STATUS: - state = true; + state = getValueInt() == 2; break; default: skipTag();