* Check that SyncManager's thread is running when called for startSync;
if not, start the service via Intent
* Mostly fixes#2133115 (although there are possibly other cases for
SyncManager not running, this will cause any manual "Refresh" to start
it up.)
* Added large comment at onCreate to explain how all this works
Change-Id: Ib43211ddb36e2f79ee5b1f6973f8bc2bc499024c
Merge commit '06261b704e210b9f560fbef71142c0071dff1acd' into eclair-plus-aosp
* commit '06261b704e210b9f560fbef71142c0071dff1acd':
make EAS set CALLER_IS_SYNCADAPTER for writes
Merge commit '7b79163aac1542577304d60fa76de6feb6be48c7' into eclair-plus-aosp
* commit '7b79163aac1542577304d60fa76de6feb6be48c7':
Show "sync contacts" setting properly in the settings page
Merge commit 'c06b6290c720ab65b0b38eddc522cc8f4f78cfca' into eclair-plus-aosp
* commit 'c06b6290c720ab65b0b38eddc522cc8f4f78cfca':
Clean up recent submission per stadler
Merge commit '1d4d1b8d9032b7a4bab3bf3368d582392aea9dc3' into eclair-plus-aosp
* commit '1d4d1b8d9032b7a4bab3bf3368d582392aea9dc3':
Make sure we don't start account sync without push/ping active
Merge commit '8067b54294356f375521ba3d1e7db3df117b65a4' into eclair-plus-aosp
* commit '8067b54294356f375521ba3d1e7db3df117b65a4':
UI cleanups for new account creation
Merge commit '22722207f5cc68c91d4be8307a29a9adb711b6d3' into eclair-plus-aosp
* commit '22722207f5cc68c91d4be8307a29a9adb711b6d3':
Close security hole in Email provider
* Improve appearance of basics screen and use simplified text
* Provide alternate text when in EAS account setup flow (from acct mgr)
* Change "Exchange/ActiveSync" button to "Exchange account"
* Add some spacing to the three buttons, to improve appearance
Bugs addressed:
2128055 Change string in account picker activity to Exchange
2132713 Welcome message for Email app is inappropriate when coming from
Settings -> Accounts & sync -> New account
* Prevent open access to sent or received messages
* Prevent open access to account info incl. passwords
* Allow access only to system apps
Bug # 2133080
* SmartReply doesn't put in header information related to the original, which
looks like a bug in EAS, so we add our own (as we do for SMTP)
* SmartForward works properly, but doesn't put any CRLF between the new text
and the original; we fix that by adding one after the original text.
* Addresses #2132658
Change-Id: I48efec0d02598a8e9ce2a54b4c66464e8e62e5d6
Merge commit 'cc15a77b289e3c840d0ed49213d7a62dfe2ee25a' into eclair-plus-aosp
* commit 'cc15a77b289e3c840d0ed49213d7a62dfe2ee25a':
Replace commented out call to actionNotifyNewMessages
Merge commit 'a740e2935746254b836051069813489cb38be666' into eclair-plus-aosp
* commit 'a740e2935746254b836051069813489cb38be666':
Fix bugs related to orientation change in MessageCompose
* Save reference to LoadMessageTask and cancel it in onDestroy
* Check whether we've already processed the source message
before calling processSourceMessage
* Fixes#2097361 (Duplicate addresses in reply/reply all)
* Fixes NPE (not in Buganizer) related to fast orientation changes
due to duplicated background task
Change-Id: Ib8115e29c9d88db1be009df4f549f925db8a1c19
Merge commit '8d5004a6eb28844c9d86a5e97a947043b693eee6' into eclair-plus-aosp
* commit '8d5004a6eb28844c9d86a5e97a947043b693eee6':
Modernize the code to load message and body from DB.
* Don't use unneeded managed cursors
* Put more of the DB work in async
* Don't try to load HTML and plaintext simultaneously
* Explicitly catch & handle exceptions during db ops
Bug # 2087051 (see also bug # 2122960 re unexpected db exceptions)
Change-Id: I446086bc4f3a85b2e766b12d1f7271e61e3ae8d5
Merge commit '8587aa61211d288d05b5fb2ddf02d69cabe6a9e2' into eclair-plus-aosp
* commit '8587aa61211d288d05b5fb2ddf02d69cabe6a9e2':
Make EmailProvider more threadsafe w/r/t transactions
Merge commit '9d43de5d1206eb54c4486cefec44a7bbd810bada' into eclair-plus-aosp
* commit '9d43de5d1206eb54c4486cefec44a7bbd810bada':
Remove parser logging from standard SD logging
* Since transactions can be nested, get rid of pointless/dangerous
flag for indicating we're in a transaction.
* Fixes#2131847
Change-Id: I2955e8a7659533e8ee9e71b949a042570466df45
Merge commit '02df29b647ae77f0ff283ab9ace737b077db3509' into eclair-plus-aosp
* commit '02df29b647ae77f0ff283ab9ace737b077db3509':
Fix bug that caused Cc field to be displayed when empty.
* Make sure to null out vars in onDestroy
* Use START_STICKY as return value for onStartCommand
* Start SyncManager from EasAuthenticator callback, rather from the
authenticator itself (otherwise, the Account might not have been
created when we start SyncManager)
Change-Id: I54ff8d5586e96f016b365587717710dee3202da8
Merge commit '24bbde37478bb717d72a13e880359d1ab28216a8' into eclair-plus-aosp
* commit '24bbde37478bb717d72a13e880359d1ab28216a8':
Revert change to AccountManager naming; use email address again
The IMAP & POP messages are being stored with cc="" instead of null,
which is taken care of by testing the output of toFriendly() instead
of the raw field from the DB.
Change-Id: I9460e7ae098ac5cd0ccd527381ffd4e6d9defae4
Merge commit 'dfe66e5eda51679ff61a5ae9da4c678abd7bb571' into eclair-plus-aosp
* commit 'dfe66e5eda51679ff61a5ae9da4c678abd7bb571':
Fix bug #2004167: update assets for Email authenticator and add small icon. Re-upload after path conflict.
We lost the reporting of connection errors in the UI. These were
originally displayed in FolderMessageList, under the name of each folder.
In the new implementation, we borrow the "undo" banner from Gmail and
display it whenever there is a connection error in a mailbox.
* Add banner, and code to animate it on/off the top of the list.
* Toggle banner whenever a connection state change occurs in MessageList
* Toggle banner whenever a connection state change occurs in MailboxList
* Slight change to callback semantics for sendMailCallback
Merge commit '91f12b8d520fbdcd26e6cf80fed26ce73d9ad782' into eclair-plus-aosp
* commit '91f12b8d520fbdcd26e6cf80fed26ce73d9ad782':
Fix problem with account settings not being saved (#2131153)
Merge commit 'a96c941d9ffa69897ff68a6298b69a2805b81d64' into eclair-plus-aosp
* commit 'a96c941d9ffa69897ff68a6298b69a2805b81d64':
Clean up transport encryption & port options