* Write unit test to replicate failure(s) in POP3 use of parseInt. All
calls to parseInt must be guarded by try/catch NumberFormatException.
* Fix the failures
Bug # 2115586
Merge commit '0c4dc85190028f389f0dcbc3dbed0b344d20a313' into eclair-plus-aosp
* commit '0c4dc85190028f389f0dcbc3dbed0b344d20a313':
Harden against crashes caused by account deletes
The basic failure mode is to delete an account while it is being
synced or some other background activity. The fixes in this CL will
harden against this, but it will not be a perfect solution; That
will require shutting down all sync, which is difficult in the current
too-many-threads implementation.
Primary bug# 2112564
Merge commit 'fc7dfddf192f4875cbfcf6cd49829ccdfee1d3af' into eclair-plus-aosp
* commit 'fc7dfddf192f4875cbfcf6cd49829ccdfee1d3af':
Support StructuredName.DISPLAY_NAME for Exchange contacts
Merge commit '2aa3e92fe3b4dde20f388ccf2a9502d12ad6969c' into eclair-plus-aosp
* commit '2aa3e92fe3b4dde20f388ccf2a9502d12ad6969c':
show message list selection
Merge commit 'da8836a76cd8a6eaa7e3693eeacc6393870b2066' into eclair-plus-aosp
* commit 'da8836a76cd8a6eaa7e3693eeacc6393870b2066':
Give warnings if dupe account created:
* Check for existing accounts with matching servername + username
* Show a dialog and block account creation
* Triggers in three cases:
* After input of an auto-setup account (e.g. Gmail or AOL)
* After input of manual setup (incoming) parameters
* After changing incoming parameters of *any* existing account
* Made some notes in EmailContent regarding fields in HostAuth that we
are not actually using.
* Added HostAuth unit tests
Primarily fixes bug # 1964449
Bonus fix for bug # 1594408
Change-Id: I49310faf6654280582e0ab3d3e40f2701bfcd21d
Merge commit '2d5691cac1874eb3491353ab608a84c2a75e2b62' into eclair-plus-aosp
* commit '2d5691cac1874eb3491353ab608a84c2a75e2b62':
Support bcc in Exchange (Fixes#2117849)
Merge commit 'ffc681a4da85c82c80d819ab8afb4442577c52a0' into eclair-plus-aosp
* commit 'ffc681a4da85c82c80d819ab8afb4442577c52a0':
Handle the case of no body being present (happens in unit tests)
Merge commit '3bef61019605176b3397b5ae659205ac324689ed' into eclair-plus-aosp
* commit '3bef61019605176b3397b5ae659205ac324689ed':
change to use the new CALLER_IS_SYNCADAPTER flag
Merge commit 'd2174733b146eeccd5f3b3b95f98e1e1aaafb257' into eclair-plus-aosp
* commit 'd2174733b146eeccd5f3b3b95f98e1e1aaafb257':
Auto-sync of stale mailboxes
Merge commit '043dba5e1b79037f438483f32108aa348d0f0ad6' into eclair-plus-aosp
* commit '043dba5e1b79037f438483f32108aa348d0f0ad6':
Enable long press Open on Accounts screen
* SmartForward and SmartReply are EAS commands that automatically
include the original message and, if a forward, all original
attachments, regardless of whether they've been downloaded to
the device
* Both commands improve battery life by sending less data; greatly
so for SmartForward if there are attachments
Change-Id: I12432cd5275a3b54e9a80d5cd59da437c4a086cc
Merge commit '42c130dcf1f6163b75b7d75ab66027c27d7c5422' into eclair-plus-aosp
* commit '42c130dcf1f6163b75b7d75ab66027c27d7c5422':
Fix bug in which EAS mail won't ever get sent (#2118279)
Merge commit 'e59c8725c595ae21dff5e04dc418818a18555a55' into eclair-plus-aosp
* commit 'e59c8725c595ae21dff5e04dc418818a18555a55':
Make sure SyncManager keeps running in various edge cases
* Have Welcome start the service (in case the app has been reloaded)
* Have SyncManager.ping start the service if there's no instance of
SyncManager
Change-Id: I8bed2843a3e065d2db29fad67dfb0bb3a5d0ff5e
Merge commit 'd60909418221d8b7f762c11d8322a98f0952dca7' into eclair-plus-aosp
* commit 'd60909418221d8b7f762c11d8322a98f0952dca7':
Improve the checkMailbox loop query to get only the appropriate boxes
Merge commit 'bba6d443f55a361a682ffc2a84c7809f4b894e94' into eclair-plus-aosp
* commit 'bba6d443f55a361a682ffc2a84c7809f4b894e94':
Don't wait longer than 10s for ping boxes to be ready
Merge commit '403a45e73606f3d41624c3e3ac02597c08145281' into eclair-plus-aosp
* commit '403a45e73606f3d41624c3e3ac02597c08145281':
Reimplement reply/forward to use mTextReply/mHtmlReply
* Do a short ping in this case, which at least will allow the device
to sleep while waiting
* Addresses #2116749
Change-Id: I9e70feaeef1361e1d66652dc66b92f6ee14751bf
* Move creation of final reply/forward text (i.e. new text plus
the original) to Rfc822Output, where it belongs.
* Prepares the way for use of SmartForward/SmartReply in
Exchange and replying w/ multipart/alternative in SMTP
* Moved test from MessageCompose to new Rfc822OutputTests, and note
that new tests should be added (this is not a regression; there
were never enough tests here)
Change-Id: Ibefb842f47cc9223714856d99b8d4f55b55f49e3