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
Merge commit '44144d0301213536b02f2080237b63d8271b2d0b'
* commit '44144d0301213536b02f2080237b63d8271b2d0b':
MessageCompose: initial save attachments and load them back.
Merge commit '03be523b16eb4cc5698ef130ddcd057912b81ac5'
* commit '03be523b16eb4cc5698ef130ddcd057912b81ac5':
Don't run SyncManager unless there are EAS accounts
Merge commit 'e346193f06c6c3ffd8412ce151109df8b7f45999'
* commit 'e346193f06c6c3ffd8412ce151109df8b7f45999':
Add status item to bottom of message list.
* Add code to (optionally) add footer, update text & progress dynamically
* Add hook to dispatch various actions (refresh, load more, etc.)
* Some cleanup of the launch helpers for MessageList
TODO:
* controller handler for the "send messages" case (subsequent CL)
* controller handler for the "more messages" case (subsequent CL)
* reporting of send results etc. into the status line
Merge commit '50d935667041cd88278ff8999bf3904fd1efa598'
* commit '50d935667041cd88278ff8999bf3904fd1efa598':
SyncManager now clears error state on Outbox messages before startSync
Merge commit 'f4d7ddb0c2aba62d3a8c0d4ddbc5d15a4d15e3a3'
* commit 'f4d7ddb0c2aba62d3a8c0d4ddbc5d15a4d15e3a3':
Fix message sending from EAS (the service wasn't properly set up)
* Handle messages >25k
* When structure is available (e.g. IMAP) pull in the entire body
and the list of attachments
* When structure is not available (e.g. POP) pull in a large chunk of
the body to try and capture the message body at least.
* Implement loadAttachment for IMAP/POP to demand download large items
* Tested with IMAP & POP messages
INCOMPLETE (file bugs):
* implement logic for the old loadMessageForView calls that comes from
MessageView (when you open a message that's partially-loaded)
* Resolve handling of mimetype when attachment info is read (currently
we're assuming base64 in a couple of places)
* delete account => delete attachments
* delete attachment => delete file
* create account => clear existing attachments for acct id
Merge commit 'cbe513d4305893edde60aca645b290f31f7643da'
* commit 'cbe513d4305893edde60aca645b290f31f7643da':
Integrate EAS push notifications with the main notifications.
* Use the new account-based field for number of new messages
* Add support for async notifications in MailService
* Change EAS to call MailService to notify user
Merge commit 'a867ebba6233becf2061c80e1c53d7d395a6cffc'
* commit 'a867ebba6233becf2061c80e1c53d7d395a6cffc':
Have body database attach just once, and never detach
* Reset DB version to "1"
* Added field and support code (save, restore, & parcel)
* Added forgotten mProtocolVersion to parcelable code
* Added unit test for parceling
Also, fixed race condition in SyncManager that was underlocking the
wake locks during tests.
Merge commit '4c19543c8c79adbdf9532f85c1d28610e87e5c28'
* commit '4c19543c8c79adbdf9532f85c1d28610e87e5c28':
make syncadapter set whether the account is syncable