Commit Graph

7727 Commits

Author SHA1 Message Date
Marc Blank
8ef319cc3f Cleanup of services.xml
* Document service attributes
* Turn magic numbers into enums
* Remove unused attribute

Change-Id: I463c64c5c9f589946dc9e27b4f630170ac46bafc
2012-06-21 11:27:54 -07:00
Marc Blank
43b0f13200 Oops; fix IMAP port
Change-Id: Iab7d3878d4011becbabd737370bfe42d155b6b5e
2012-06-21 10:34:48 -07:00
Marc Blank
a8b23f2b43 Merge "Setup port from services.xml when autoconfiguring" into jb-ub-mail 2012-06-21 09:56:40 -07:00
Marc Blank
556af6cfcb Setup port from services.xml when autoconfiguring
Change-Id: Iec2d3fddb345b57ba84a794d9e92cad7a631c105
2012-06-21 09:50:30 -07:00
Eric Fischer
627996ca84 Import translations. DO NOT MERGE
Change-Id: I0308a2f8aa11319a8cc1673c1bc0f82250e96794
2012-06-20 19:04:29 -07:00
Marc Blank
cb9035a87d Remove final protocol references in non-sync code
* Generalize debug settings
* Generalize setup from account manager (Settings)
* Remove unused protocol code

Change-Id: I7f49384058c1a2105936a85d4bace2c771e201ec
2012-06-20 16:57:37 -07:00
Marc Blank
161d73491d Merge "Add logging for AccountSecurity class" into jb-ub-mail 2012-06-20 13:10:41 -07:00
Marc Blank
54eb1f2286 Add logging for AccountSecurity class
* Temporary, for debugging

Change-Id: Ia3798333c7f19bfdea0b19b3c85e0519a1daa8c3
2012-06-20 12:50:35 -07:00
Marc Blank
a9bee2c81f Gracefully handle case of null/non-existent protocols
Change-Id: I3be50b9e2b992cebf64fdeeb13b63a241ec31a52
2012-06-20 12:18:38 -07:00
Marc Blank
58d0db2709 Prevent NPE getting non-existent mailbox
Change-Id: I0c0bbc64a9b9871344ae5704f9d098073a1d425d
2012-06-20 09:55:32 -07:00
Marc Blank
384c467d0e Remove direct references to protocols
* Use services.xml info instead
* Reduced # references from 40+ to 4 (others to be removed ASAP)

Change-Id: I756001148e09ece2f49258bced000e60685ba953
2012-06-19 20:52:27 -07:00
Marc Blank
c9864af20f Replace literal "eas", "pop3", "imap" with constants
Change-Id: If3f4712acd39663e548f271ffaa2fb7b4f5656d4
2012-06-19 15:34:16 -07:00
Marc Blank
13284c1376 Merge "Remove exchange-specific layouts (merge into incoming)" into jb-ub-mail 2012-06-19 14:26:48 -07:00
Marc Blank
48e8026b34 Remove exchange-specific layouts (merge into incoming)
* 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
2012-06-19 14:03:30 -07:00
Eric Fischer
07c8076db2 Import translations. DO NOT MERGE
Change-Id: I2cc9ea056c49180881811cbde235ce608c8b215b
2012-06-19 13:46:17 -07:00
Marc Blank
d214f6d19f Fix build break
Change-Id: If888f471039d9a8bbfe07a262767bf3ff82faeae
2012-06-18 13:39:34 -07:00
Marc Blank
ff3fcf9163 Consolidate authenticator code
* Also, remove obsolete CalendarProviderStub

Change-Id: If20ae050f1750abb510c1ca5b9fcdad0115852ad
2012-06-18 12:58:23 -07:00
Ying Wang
5746430b29 Import translations. DO NOT MERGE
Change-Id: Ib5dcb833d82ec34e20d7781056af467400816110
2012-06-18 10:54:23 -07:00
Marc Blank
948f758706 Merge "Fix NPE in uiSaveMessage" into jb-ub-mail 2012-06-15 20:55:54 -07:00
Marc Blank
337729c681 Fix NPE in uiSaveMessage
Bug: 6675492
Change-Id: Ic63e4feacecd9b347402715dd31f0bd5fd962348
2012-06-15 17:35:59 -07:00
Ying Wang
439c26091a Merge "Revert "Revert "Import translations. DO NOT MERGE""" into jb-ub-mail 2012-06-15 15:25:08 -07:00
Ying Wang
faac03f95d Revert "Revert "Import translations. DO NOT MERGE""
This reverts commit dc33c9532c
2012-06-15 15:25:02 -07:00
Ying Wang
23359fc69a Merge "Revert "Import translations. DO NOT MERGE"" into jb-ub-mail 2012-06-15 15:22:25 -07:00
Ying Wang
dc33c9532c Revert "Import translations. DO NOT MERGE"
This reverts commit aad4220ce2
2012-06-15 15:22:21 -07:00
Marc Blank
727a35a576 Fix build break
Change-Id: Idedef43d9b0985b9bf465fc7536a500fcce1228a
2012-06-15 15:20:41 -07:00
Ying Wang
aad4220ce2 Import translations. DO NOT MERGE
Change-Id: I63e4cc7b752fc7cdb1ded5390aadceb9fd8e91cc
2012-06-15 11:05:56 -07:00
Vikram Aggarwal
ead3f5f098 Fix the notification URI for email
Change-Id: Ifa2e597d64dde546f6a29114b316168c665b0939
2012-06-14 14:49:11 -07:00
Marc Blank
83adfb99a0 Continue generalization of account setup
* Put most setup parameters in services.xml (at a later date
  these can be obtained directly from services, but we're not
  in a position to modify Exchange until next OS release)
* Make more parts of setup reference service information rather
  than directly refer to specific protocols
* Base account type buttons on declared services
* Continue the effort to make Stores obsolete

Change-Id: I50d08f3c0676e606b6b6c09fc22571ee5a7690e6
2012-06-14 14:27:39 -07:00
Vikram Aggarwal
58035979ff Merge "Provide default recent folders" into jb-ub-mail 2012-06-14 11:26:01 -07:00
Eric Fischer
c39b0bb2db Import translations. DO NOT MERGE
Change-Id: I78342692836b56be3584e515b495dcd732ff05ed
2012-06-14 11:14:37 -07:00
Vikram Aggarwal
6bc85061b4 Provide default recent folders
Change-Id: I95ebe1b3c807043f5b5a5b34029386f583195220
2012-06-14 10:44:50 -07:00
Eric Fischer
ba09e0cc7b Import translations. DO NOT MERGE
Change-Id: I718e36b3adaaa67f7fdd9e1c1110e7dcb4dacc77
2012-06-13 10:29:15 -07:00
Paul Westbrook
71e60b84f8 Enable hardware acceleration by default
Change-Id: I3717fa877374fb1442a850b421eac33c37bcd7d9
2012-06-12 15:55:06 -07:00
Paul Westbrook
08c2eba3b6 Use better "no_conversations" string
Bug: 6407039
Change-Id: Idc2921966a4423c4182d00334bc01cf239527f8c
2012-06-12 14:40:15 -07:00
Mindy Pereira
38832667e8 Merge "Revert "Remove dependency on mailcommon."" into jb-ub-mail 2012-06-12 13:44:56 -07:00
Mindy Pereira
b26e4c9d39 Revert "Remove dependency on mailcommon."
This reverts commit 2d549deb6f
2012-06-12 13:43:47 -07:00
Mindy Pereira
f812145f6e Remove mailcommon dependency from email2.
Change-Id: Ib22e00d0f0e6354182727c88540a49cbe8afbf5f
2012-06-12 13:24:08 -07:00
Mindy Pereira
2d549deb6f Remove dependency on mailcommon.
Change-Id: I9ab1b36629d9322a43ae37b0aacb3ae259d3db75
2012-06-12 13:15:24 -07:00
Marc Blank
aa9a5a703a Save/restore draft info (ref message/quote pos) in EmailProvider
Bug: 6581587
Change-Id: Idd7f8b905611ef567f8f5de3d936bb8f919c869a
2012-06-05 08:58:41 -07:00
Marc Blank
401ae68822 Merge "Generalize service discovery and calling" into jb-ub-mail 2012-06-04 17:16:41 -07:00
Marc Blank
19e006ede1 Generalize service discovery and calling
* On the road to removing direct references to
  Exchange (and potentially others) from Email.apk

Change-Id: Id0fe59936067f9cacde66f2979b21de3f69526a1
2012-06-04 15:11:45 -07:00
Marc Blank
71018513b2 Port I96aa59a4c13310d8d63b4476990682d08b5bc772 to jb-ub-mail
Bug: 6601778

Change-Id: I0f8a474746eb2151f1f2777fbb405c159558614f
2012-06-04 11:56:13 -07:00
Marc Blank
8410a296c5 Notify UI of message change when inline attachment saved
Bug: 6437156
Change-Id: Ieb31e833a92c4baa0411c6e6e88f219cc0dc6682
2012-06-01 09:11:35 -07:00
Marc Blank
db1b26f5ea Add account check Uri to detect duplicated mailboxes
Bug: 6578066
Change-Id: Ibebd310ea35093abebbd54fb30839ba0d399e872
2012-05-31 15:31:45 -07:00
Marc Blank
73af06a2d1 Merge "Handle inline images in EmailProvider" into jb-ub-mail 2012-05-30 10:33:12 -07:00
Marc Blank
21102f6323 Handle inline images in EmailProvider
* Automatically prefetch these attachments
* Use AttachmentProvider properly (to get output stream)

Bug: 6437156
Change-Id: I6f594e3b9b6286cb19d7fb7390aa6979ba492c22
2012-05-30 10:04:43 -07:00
Mindy Pereira
25e83f330f Remove more unnecessary overrides.
Change-Id: I9e44a24aff0cde1baba63cc105aa6b0e95860e70
2012-05-30 08:52:01 -07:00
Mindy Pereira
8bc34dabe5 Remove overrides
Unnecessary and just leading to styling troubles!

Change-Id: I1796fd1c18fc594b3b00016acf5e1f53c8002cb6
2012-05-30 08:47:03 -07:00
Marc Blank
cf1a862526 Fix cursor logic for multiple notifications; close cursor
Change-Id: I0b2a46d1a89f9d4704929580324ee25f5c19185e
2012-05-29 08:49:40 -07:00
Marc Blank
6fb157c90c Fix problem with empty content disposition
* And while we're at it, fix a repeating crash related to
  notifications.

Bug: 6561972
Change-Id: I44f2441bf7bfe4b364a605c0d7c8bae83229837a
2012-05-25 16:18:39 -07:00