Correctly update UI_SYNC_STATUS upon search

b/17377040

Change-Id: I5cf9281fa204ac780b737215a86362a8317d63b6
This commit is contained in:
Martin Hibdon 2014-10-16 14:22:49 -07:00
parent 586858745f
commit f61e098a41

View File

@ -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. // 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 // Otherwise it could show the empty state, until the service gets around to setting
// the syncState. // 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 // 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 // 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 // previous search, and we'll display the "Load More" footer prior to having