Correctly update UI_SYNC_STATUS upon search
b/17377040 Change-Id: I5cf9281fa204ac780b737215a86362a8317d63b6
This commit is contained in:
parent
586858745f
commit
f61e098a41
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user