* Don't create our EmailProvider Account until we get a confirmation from
AccountManager that the system Account is created
* Put up an erorr dialog if AccountManager fails for some reason (this is
what we saw in bug #2072668)
- fix bug 2080075, reply to message without text body.
- workaround bug 2077496 by temporarilly disabling the address adapter.
- unit test for MessageCompose.buildBodyText()
- use precompiled regex
Merge commit '2ac94a9cc254ff0a4c17407eb1bda31d433ef651'
* commit '2ac94a9cc254ff0a4c17407eb1bda31d433ef651':
Update Star and Read/Unread from IMAP server
* Set the star and the read/unread states properly when a
message is downloaded for the first time.
* Update them on already-downloaded messages.
This is download only - not upload
Bug 1904385
Change-Id: Id03a0957677bb39f4a57ed0542eaa8accc36ab48
BUG: 1904403
* Change the text of READ/UNREAD button dynamically according to the state of selection
* Change the text of favorite button dynamically according to the state of selection
* Final list of options while normal mailbox is shown
* New list of options while smart folder is shown
* Correct lists of context options for drafts, outbox, trash, and
everywhere else (full list)
* Enable reply, reply all, and forward
TODO: needs a better icon for menu->folders
Resolves bug 1904421 items 4a, 4b, 5a
Resolves bug 2078092
Merge commit '67be84728a05f969ae1306fc1fed21fb1a2a8526'
* commit '67be84728a05f969ae1306fc1fed21fb1a2a8526':
Update UI of accounts folder list and smart folders
Merge commit '68c3c7518e132bdbfd17a0b122fbe09c08e0acdc'
* commit '68c3c7518e132bdbfd17a0b122fbe09c08e0acdc':
Use LED for notification (same parameters as Gmail and GTalk services)
This happens in two primary cases:
1. When a very large POP message was skipped during initial sync
2. When any message was interrupted during initial sync, e.g. by
a dropped connection.
Changes:
* Added loadMessageForView and callbacks to Controller (and touched all
files with Controller listeners)
* Rewrote loadMessageForView in legacy MessagingController to work with
provider.
* Update flow in MessageView to use loadMessageForView when needed.
* Restored the use of "loading.html" and "empty.html" assets (although
I think we should replace them with simple layouts & views.)
* Some random cleanup in MessageView
Satisfies bug # 2065563
Merge commit 'aa69a174774699d452233f8ffece021f9851011e'
* commit 'aa69a174774699d452233f8ffece021f9851011e':
Add initial support for uploading new Contacts to Exchange server
* Refactor the sync adapters to separate out parsing from commit
* Use ContactsProvider to save the SyncKey for contacts
* Fixes#2072664 and #2072456
Change-Id: I1e85c498496e83d9523489636a75f366f7fbd106
Merge commit 'c9c5bd5665648950aeb9c05711a733f7cbd1f730'
* commit 'c9c5bd5665648950aeb9c05711a733f7cbd1f730':
DO NOT MERGE: Rewrite Base64InputStream from Eclair
Merge commit '421a4f5595163b16064049e20e823f45e0fd7ee9' into eclair
* commit '421a4f5595163b16064049e20e823f45e0fd7ee9':
DO NOT MERGE: Rewrite Base64InputStream from Eclair
Merge commit '4bc4fed47bec36b48203ae7dd6cd7e4727cfea70'
* commit '4bc4fed47bec36b48203ae7dd6cd7e4727cfea70':
Use new service command processing to avoid leaving the service running.
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.
The service still needs to schedule an alarm in its onStartCommand() so that
it will run in its next poll interval.
Change-Id: I66228ef573e84a5c7d33bcb07f4772626079b960
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