am f61e098a: Correctly update UI_SYNC_STATUS upon search

* commit 'f61e098a4161dd52f1d81c577520ce96b617480d':
  Correctly update UI_SYNC_STATUS upon search
This commit is contained in:
Martin Hibdon 2014-11-02 15:33:34 +00:00 committed by Android Git Automerger
commit 349e6b9105

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