MessageListAdapter.doRequery() is supporsed to do the same thing as CursorAdapter.onContentChanged() does. So the entire method body can be replaced with super.onContentChanged().
Merge commit '4b31f3c7a6caf0967beef208c172c899c8b6fac1'
* commit '4b31f3c7a6caf0967beef208c172c899c8b6fac1':
Use correct EAS version in Outbox (fixes#2319892) DO NOT MERGE
Merge commit '420f664891b2f46356bfc5cdd645aae727ecc71f'
* commit '420f664891b2f46356bfc5cdd645aae727ecc71f':
Fix delay sending mail after tapping "Send outgoing mail" DO NOT MERGE
Merge commit 'c76a22b01a2cb78fe75cc591066441fbcf3d90ac'
* commit 'c76a22b01a2cb78fe75cc591066441fbcf3d90ac':
Don't delete referenced messages from the Exchange server DO NOT MERGE
Merge commit '27051e480f9cc5396aacc3cc5e520d5875390548' into eclair-plus-aosp
* commit '27051e480f9cc5396aacc3cc5e520d5875390548':
Use correct EAS version in Outbox (fixes#2319892) DO NOT MERGE
Merge commit 'bfc5de35fa08b6e747e5d5afe72bffafca08ce2a' into eclair-plus-aosp
* commit 'bfc5de35fa08b6e747e5d5afe72bffafca08ce2a':
Fix delay sending mail after tapping "Send outgoing mail" DO NOT MERGE
Merge commit 'c874824ca8b76f795575538ffa34138e2de47cad' into eclair-plus-aosp
* commit 'c874824ca8b76f795575538ffa34138e2de47cad':
Don't delete referenced messages from the Exchange server DO NOT MERGE
Merge commit '42e5dca4efb6a5932f2062e9f97af914a3e84aa1' into eclair-mr2-plus-aosp
* commit '42e5dca4efb6a5932f2062e9f97af914a3e84aa1':
Add sanity checks in SyncManager and EasSyncService
Seems like it's the simplest way to make it.
- Base64 no longer implements BinaryEncoder/Decoder. Email app doesn't use them.
- Copied Decoder/EncoderException. Email app doesn't catch them either.
Merge commit '68011bddf01d6b62d621784fad9a43884ec434fd' into eclair-plus-aosp
* commit '68011bddf01d6b62d621784fad9a43884ec434fd':
Revised strings in corporate mail settings screen.
* Addresses #2287439 incompletely
* The most likely reason for a reply/forward to get stuck in the Outbox
is that the referenced message has been deleted from the client, with
the deletion occuring BEFORE the message gets sent (currently, the two
are completely independent)
* This change causes deletes NOT to be sent to the server if the message
to be deleted is referenced by an outgoing message
Change-Id: Iad3777282385bea82276f363d6f95ba8b07cc01c
* Fixes#2317429
* When "Send outgoing messages" is tapped in Outbox MessageList view,
we clear the error state for all "stuck" messages
* We didn't, however, clear the error state of the Mailbox, which doesn't
clear itself until the end of a pingLoop, which can be up to 30 minutes
* The fix is in two parts:
* We clear the error state of the Outbox when a sync is requested by
the UI
* We don't set the error state of the mailbox for non-auth errors when
sending, because we don't want to block OTHER messages from getting sent.
Change-Id: I06d98e54049b01c2156b1bc3ebbccf043e7b93f5
* We inadvertently failed to set the EAS version in EasOutboxService,
so the default of 2.5 is used
* This works, but SmartReply/SmartForward were enhanced in 12.0 and we
aren't taking advantage of those changes
* The fix is to set the version using common code
Change-Id: Ife6689fa9934da42d98a48df74fca90ba6d1718c
Merge commit 'd4ecce95f513e3567f5c1be550d86d6a90e7ca63'
* commit 'd4ecce95f513e3567f5c1be550d86d6a90e7ca63':
Run MailboxAlarmReceiver's code in a background thread
Merge commit '4848aa2a1fda59f20e7acb9259dd355a047f3b93' into eclair-mr2-plus-aosp
* commit '4848aa2a1fda59f20e7acb9259dd355a047f3b93':
Run MailboxAlarmReceiver's code in a background thread
* Fixes 2313077
* Broadcast receivers are run in the UI thread, so we must ensure that
any long-running code is executed in a background thread
Change-Id: I9a3d501a308445a84a1baa99fc6abb9feb56ff2d
* Fixes#2317429
* When "Send outgoing messages" is tapped in Outbox MessageList view,
we clear the error state for all "stuck" messages
* We didn't, however, clear the error state of the Mailbox, which doesn't
clear itself until the end of a pingLoop, which can be up to 30 minutes
* The fix is in two parts:
* We clear the error state of the Outbox when a sync is requested by
the UI
* We don't set the error state of the mailbox for non-auth errors when
sending, because we don't want to block OTHER messages from getting sent.
Change-Id: I768138b6f31eb696811aa94f621b6fa758ec1a5e
Merge commit 'c6a0605f611670bcf44463be5fcb3d35a68165cf'
* commit 'c6a0605f611670bcf44463be5fcb3d35a68165cf':
Use correct EAS protocol version in Outbox (fixes#2319892)
Merge commit '9b83870a091084a3575a354539eaf98c516ccf2c' into eclair-mr2-plus-aosp
* commit '9b83870a091084a3575a354539eaf98c516ccf2c':
Use correct EAS protocol version in Outbox (fixes#2319892)
Merge commit '89ecbbaed6858896c76029803244a7f6c1f13b97'
* commit '89ecbbaed6858896c76029803244a7f6c1f13b97':
Deal with mismatch between our accounts and AccountManager accounts
Merge commit 'e312c12b748e9984715295b71e95c90ee8d3d3bd' into eclair-mr2-plus-aosp
* commit 'e312c12b748e9984715295b71e95c90ee8d3d3bd':
Deal with mismatch between our accounts and AccountManager accounts
* Addresses #2226426
* Recognize the case in which there is no EmailProvider Account corresponding
to an AccountManager account (the case being addressed is that of the
EmailProvider database being deleted due to corruption
* In this case, delete the AccountManager account so that the two are in
sync
* Refactor and add unit test for account reconciliation
Change-Id: I356b8bfaa0846f85223cc15994b750df207a63ea
Merge commit 'aec13abacebf0701138b34adce9b21459ede6de5' into eclair-mr2-plus-aosp
* commit 'aec13abacebf0701138b34adce9b21459ede6de5':
Import revised translations. DO NOT MERGE