Commit Graph

7445 Commits

Author SHA1 Message Date
Mindy Pereira
ed9bb52b96 Remove folder_item.xml
Just use the one in unifiedemail

Change-Id: Ifa2c0f207fc758a8b13c03bb9fcaa2446c8b7469
2012-06-27 09:29:22 -07:00
Marc Blank
ebd249b0a3 Merge "Support the "all folders" query from UIProvider" into jb-ub-mail 2012-06-26 16:15:07 -07:00
Marc Blank
e17f0dcf3a Support the "all folders" query from UIProvider
Change-Id: Ib5415c5505fc10204c3a3773efae89528fb44c28
2012-06-26 16:09:46 -07:00
Marc Blank
494e02ae2d Add hierarchicalName to Mailbox table and class
Change-Id: Icc90761f122cb24c7d1eb91820a2f00b0116e89e
2012-06-26 13:20:40 -07:00
Marc Blank
78ffc31aa5 Merge " Move guts of ExchangeService to emailsync static lib" into jb-ub-mail 2012-06-25 18:05:25 -07:00
Marc Blank
ece21ccb20 Move guts of ExchangeService to emailsync static lib
* 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
2012-06-25 14:55:53 -07:00
Paul Westbrook
cc3fb1dc68 Logutils changes
Allow Email to override the log tag for UnifiedEmail code

Change-Id: I4de991371cc80704c6f4c2198d7d121f22c16f48
2012-06-25 14:47:47 -07:00
Andrew Sapperstein
bf50424033 Merge "Removing the photo viewer from email2." into jb-ub-mail 2012-06-25 12:04:51 -07:00
Eric Fischer
7f54adb09f Import translations. DO NOT MERGE
Change-Id: Ie3e0d5bd7500bd0546ffa6c2c5394b4bd43e5ff2
2012-06-25 10:36:14 -07:00
Andrew Sapperstein
94299b9f85 Removing the photo viewer from email2.
Change-Id: Idfdf1e225bef2a7820fd648bc25cb1ee4210e601
2012-06-22 16:24:45 -07:00
Ying Wang
7f8a7f69bb Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-06-22 12:23:31 -07:00
Marc Blank
9218bd8c88 Try to handle IMAP/POP mime types better
* 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
2012-06-22 11:38:33 -07:00
Ying Wang
e508a7b624 Import translations. DO NOT MERGE
Change-Id: If08ea734eef27eececf052d66c7189b39b9bf041
2012-06-22 11:28:28 -07:00
Marc Blank
1d229f54bf Fix failing permission check in AttachmentProvider
* Now that we're using a Service to process attachment calls, we
  need to be calling checkCallingOrSelfPermission instead of
  checkCallingPermission
* Thanks, Dianne!

Change-Id: Icf5d16009259820e9cdf5855aedd9dac8814aa61
2012-06-22 10:51:00 -07:00
Andrew Sapperstein
1138c799d6 Using absolute pkg name for MailPhotoViewActivity.
Change-Id: I987e10c774ced54673143c74e774ecd8fdce91cf
2012-06-21 15:59:09 -07:00
Andrew Sapperstein
d638e701c4 Adding MailPhotoViewActivity to email2 manifest.
So it'll actually open the photo viewer in Email2.

Change-Id: Ia4f5ce69367c88c5b9dbb546da44f55aa93205be
2012-06-21 14:30:28 -07:00
Eric Fischer
a4d7a3d0a9 Merge "Import translations. DO NOT MERGE" into jb-ub-mail 2012-06-21 11:42:06 -07:00
Eric Fischer
fa073ff95b Import translations. DO NOT MERGE
Change-Id: I26a2c9eccf1d4096d822615e1ea714d2f18bb293
2012-06-21 11:33:25 -07:00
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