in addition:
- fix AND-OR precedence in cursor query in MessageList.
- move special mailbox ids from MessageList to Mailbox
- move shared code from MessageList to com.android.email.Utility
- add invisible prev/next to landscape in order to avoid special-case in code
- select mailbox list using IN() instead of list of OR
Note: Checked in by Andy to facilitate further work on MessageView.
Change-Id: I8049be2b45fed1e4e697a0ed895492c4d0e59e0a
* Properly reset all mailbox limit values
* When load more messages is clicked, increment limit and resync
* Also fixed a race condition in provider
Resolves bug 2065626
Change-Id: If50f25a5cb3b549b3acc48406c78533ad86ed4d5
Merge commit 'bfe94e6eaa3e1b9bc95ffb3b2169656bb138c5a3'
* commit 'bfe94e6eaa3e1b9bc95ffb3b2169656bb138c5a3':
Fix NPE when trying to upload a Contact created on device
* Don't leak the receiver registered by AccountManager for updates
* Only restart dead threads if they aren't logged in the syncErrorMap
(to prevent looping behavior as seen in bug #2072456
Change-Id: Id1b4c53ef8b721bf8bfa8426627fd76831864c70
Merge commit 'cab55743ac6a5a0183370b5f4c48eb9a860446c8'
* commit 'cab55743ac6a5a0183370b5f4c48eb9a860446c8':
Rewrite Base64InputStream to be much more efficient
This was broken in many, many ways but the primary offender was an
object allocation for every 4 bytes of an input stream (imagine what this
did for 900k attachment files).
The new version is completely self-contained, and is optimized for the
most common case of inner loop case of processing 4-bytes-at-a-time.
These were not working on some screens due to portrait/landscape
layout issues. The worst cases were the "basics" screen and "exchange",
but I cleaned up all of the screens that had similar issues.
Resolves bug 2070902 which made it difficult to create accounts on
some devices.
Merge commit 'd382107bdc95d4472050d0879dff7e30193ef1c2'
* commit 'd382107bdc95d4472050d0879dff7e30193ef1c2':
Don't try to load the owner info for now, it's not available.
Merge commit 'ed651a645cfaeff6b6472677c6fc7621c6faf732'
* commit 'ed651a645cfaeff6b6472677c6fc7621c6faf732':
Updated Email to use shared trust manager instead of initializing its own copy.
Merge commit 'dbbd29c822235d0c4c2ba9bad808ff5d4b86d399' into eclair
* commit 'dbbd29c822235d0c4c2ba9bad808ff5d4b86d399':
Updated Email to use shared trust manager instead of initializing its own copy.
Merge commit '6fa76a70a8d01b5acd74ce3feb6940f462bac05e'
* commit '6fa76a70a8d01b5acd74ce3feb6940f462bac05e':
Integrate further with the system SyncManager/AccountManager system
Merge commit 'bcff14acf25d3a999b7448e317604e694c204f47'
* commit 'bcff14acf25d3a999b7448e317604e694c204f47':
Create setup flow for use by Accounts manager.
* Create a new entry point for the exchange setup flow and switch
EASAuthenticatorService to call it
* Pass "eas flow mode" down through the setup screens
* Slightly modify their behavior as we go (e.g. we skip the
(account type" screen since we know it's EAS.)
* Add a checkbox to "sync contacts from this account" and pass that
value into ExchangeStore when we set up the account.
* Change the flow exit to pop back to the account manager instead of
taking the user to the new inbox.
This CL satisfies cases 1 & 2 of bug # 1974752.
Merge commit 'a8aedb2f374ef88a433857d78e71c651425bcce0'
* commit 'a8aedb2f374ef88a433857d78e71c651425bcce0':
Add "contacts" option to EasAuthenticator, which determines whether Contacts should be synced
* Finish IMAP/POP sections of Controller.sendMessage
* Rewrite MessagingController.sendPendingMessagesSynchronous
* Add deleteAllAttachmentFiles to AttachmentProvider, and unit test
* Rework sendMessage callbacks and integrate into MessageList UI
* Send pending from UI
TODO:
* Find other places from which to call deleteAllAttachmentFiles
Merge commit 'c0c9c33322deecace00a32766e0a1b355aad4b31'
* commit 'c0c9c33322deecace00a32766e0a1b355aad4b31':
Add URI's that atomically add a value to a particular field (Account or Mailbox)
* Message, etc. could be added, if this had a use case
* Unit test added for both Account and Mailbox cases
* Eclipse changed some parens around; it won't happen again
* Change API for callback to include message subject (when msg is isn't valid)
* Update users of callback to add the new argument
* Use API in EasOutboxService to send status messages back to the UI
Still TODO: Add relevant error codes for sending problems that are not related
to connection or login issues