From f61e098a4161dd52f1d81c577520ce96b617480d Mon Sep 17 00:00:00 2001 From: Martin Hibdon Date: Thu, 16 Oct 2014 14:22:49 -0700 Subject: [PATCH] Correctly update UI_SYNC_STATUS upon search b/17377040 Change-Id: I5cf9281fa204ac780b737215a86362a8317d63b6 --- provider_src/com/android/email/provider/EmailProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider_src/com/android/email/provider/EmailProvider.java b/provider_src/com/android/email/provider/EmailProvider.java index 8a10b81b0..bc7f374ad 100644 --- a/provider_src/com/android/email/provider/EmailProvider.java +++ b/provider_src/com/android/email/provider/EmailProvider.java @@ -5966,7 +5966,7 @@ public class EmailProvider extends ContentProvider // service can start its query, we need it to see that there is a sync in progress. // Otherwise it could show the empty state, until the service gets around to setting // the syncState. - cv.put(Mailbox.SYNC_STATUS, EmailContent.SYNC_STATUS_LIVE); + cv.put(Mailbox.UI_SYNC_STATUS, EmailContent.SYNC_STATUS_LIVE); // We don't know how many result we'll have yet, but we assume zero until we get // a response back from the server. Otherwise, we'll whatever count there was on the // previous search, and we'll display the "Load More" footer prior to having