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
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.