* We move most of the sync logic into a new emailsync static lib that
Exchange can use (and push IMAP eventually as well)
Change-Id: Ia1ed4a0f4e385f5e3d389ff66dad21f5e4a8eb2e
* When we get a "generic" type, try to infer a better one from
the filename extension (as Exchange already does)
* Also, remove unused method
Bug: 6713335
Change-Id: I540a92aabd13bc1d30ce1838129a86f5eaf3564e
* Configure everything via services.xml, removing lots of
duplicated layouts and code
* Check that this works on phone and tablet
* More to do: get rid of abstract class with only one
subclass (AccountServerBaseFragment), remove as many
references in Email2 to specific protocols (a lot has
already been done)
Change-Id: I071e0aba029e2ccb9631d13b2b6d41ab74b1341b
* We had some relatively complicated rules for what was "viewable",
but there are cases missed.
* It's simplest to consider all non-attachment images and text as
viewable.
Bug: 6524411
Change-Id: I57844916af4ded683e69932b4effd5546ec42ad2
* Ignore the small/large message distinction
* Get rid of loadMore; let the sync always get the text parts
(this avoids parsing a potentially huge message just to get at
the text parts)
* If we have a multipart/alternative and it has html text, don't
bother loading the plain part
Bug: 6325247
Change-Id: Ib557b20c517f0dee2b5f67d0d57d5304a0cba936
* Added a starred folder for each account (only shows up if there
are any starred messages)
* Added a combined starred folder in the "combined" account
* Use proper icon for the starred folders
* Set proper counts for these folders
TODO: There are probably a bunch of loose ends related to how the
counts in these virtual folders get updated
Change-Id: I72fcf543716583bdfcbdd50ffcac3b023a9b59e6
* Also, fix Exchange logging
* Also, get notifications working
* Refactor former Email class into MailActivityEmail
Change-Id: Id726f4178134485f4a3ec1ee317861d984d659a0