Commit Graph

127 Commits

Author SHA1 Message Date
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
6bc85061b4 Provide default recent folders
Change-Id: I95ebe1b3c807043f5b5a5b34029386f583195220
2012-06-14 10:44:50 -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
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
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
Marc Blank
7c94a65c4a Merge "Support accountUri in Conversation cursor" into jb-ub-mail 2012-05-25 14:02:26 -07:00
Marc Blank
f4a1f8e6bd Support accountUri in Conversation cursor
Change-Id: Id1aa66df782a8ed1fb3d407a1d0a5f7b0eb5cf34
2012-05-25 13:51:32 -07:00
Paul Westbrook
b084f6409a New notifications for Email2
Merges the following changes into jb-ub-mail

https://android-git.corp.google.com/g/191855
https://android-git.corp.google.com/g/191887
https://android-git.corp.google.com/g/192597

Change-Id: I34d927952b6a80fdd454a0f174711e0e4c740502
2012-05-25 13:01:28 -07:00
Marc Blank
28d2fb96f1 Don't allow undo for deletions in trash
Bug: 6282899
Change-Id: I23d0c768a71e08d493f42ee2c8b08ae95dbc1cf4
2012-05-25 10:50:23 -07:00
Marc Blank
d4937049b2 Notify widgets when mailbox contents change
Bug: 6309668
Change-Id: Ibc7fff796f454e1ae4fc56a0a9282021865b4fc9
2012-05-23 13:37:33 -07:00
Marc Blank
2a5ea1af54 Manually merge change from jb-dev
Bug: 6479301
Change-Id: I7c2bce9920ede3b03f60c5bf7d02a9152c84941e
2012-05-22 11:40:06 -07:00
Marc Blank
323eea8ac8 Don't use a repeating alarm for AttachmentDownloadService
* Guarantees we can't have runaway alarms
* Manually merged from Email1

Bug: 6494254
Change-Id: I7f272f650ab34d50ec71ad503951ada3bbf203af
2012-05-18 14:09:46 -07:00
Marc Blank
168dec146f Add account color to account spinner
* For combined view

Bug: 6281321
2012-05-17 15:15:28 -07:00
Mindy Pereira
160df820fa Remove Email2 overrides. Use UnifiedEmail styling.
Change-Id: I40b138f58464678a98854902b976581b7210fa7b
2012-05-16 15:08:32 -07:00
Marc Blank
84da65d222 Add account color to message list for combined account
Change-Id: I284179feadac4bdd1677c33c5be3f00e865c1430
2012-05-08 14:09:21 -07:00
Marc Blank
270ed83636 Compatibility upgrade from Email1 to Email2
Change-Id: I6554c91b1078c266183629e0a366bc4b4ac68d7f
2012-05-01 09:29:42 -07:00
Marc Blank
9f2e3b7179 Merge "Rework reply/forward to use unified-style data" into jb-ub-mail 2012-04-30 08:47:17 -07:00
Marc Blank
afb34d19ee Rework reply/forward to use unified-style data
* Deprecate fields no longer used in Body table

Bug: 6393061

Change-Id: I48f41063667f6edef43756b16acdfd1e65ef554c
2012-04-30 08:38:47 -07:00
Marc Blank
c75cd15c96 Use "Inbox" rather than "INBOX" for, well, "inbox"
Bug: 6366703
Change-Id: If9a43513990802203431ecbbcd96247b2db8e93f
2012-04-29 20:14:48 -07:00
Marc Blank
c6f104f2a7 Add quoted text start pos to Body table
Change-Id: Ie80fbb686382a8d38ea09d05b4757a82169be3fc
2012-04-27 13:37:56 -07:00
Marc Blank
d053465149 Have "view in calendar" directly open the event if possible
Bug: 5011918
Change-Id: I872ca6b78af08092017aa02810a07497a82758c1
2012-04-27 10:05:52 -07:00
Marc Blank
5ac4978680 Merge "Add preliminary support for viewing events" into jb-dev 2012-04-27 09:36:11 -07:00
Marc Blank
c8ae6156da Merge "Make sure all drafts are "read"" into jb-dev 2012-04-27 09:21:45 -07:00
Marc Blank
597cfcf7ce Add preliminary support for viewing events
Bug: 5011918

Change-Id: I573ed44b09f5e695d04fd081ea8af221fb396d94
2012-04-27 09:07:40 -07:00
Marc Blank
31a5e5c58d Make sure all drafts are "read"
Bug: 6408601
Change-Id: I99dc9a1f017d67474540c07a76d11ec33c0ec3d8
2012-04-26 23:24:37 -07:00
Marc Blank
b3cf559736 Merge "Confirm calendar invite response, and delete message" into jb-dev 2012-04-26 20:41:47 -07:00
Marc Blank
519196dcf9 Confirm calendar invite response, and delete message
* Also, make sure that deletions update totals
* And that undo does the same

Bug: 6399958

Change-Id: I0250c34ce2515327f2a5bffec0cd059af9cefac4
2012-04-26 17:45:45 -07:00
Andy Huang
b354794c21 hide text zoom pref in Email2
Bug: 5287963
Change-Id: I6661149a8e8a98d5cebb9ea0fcfe6b4bc7976ff7
2012-04-26 16:50:35 -07:00
Marc Blank
c6297f8272 Handle clearing notifications via respond()
Bug: 6348210
Change-Id: I7040361123c86915d01e5b460f8c1f1e35f2a75b
2012-04-26 13:21:01 -07:00
Marc Blank
1f6dab6685 Don't allow sending from Combined account
Bug: 6319124
Change-Id: I0635bd59e2f53ce885e90f79be3611cebdb67f92
2012-04-24 11:56:06 -07:00
Marc Blank
b027bdadfa Make sure notifications run when app starts
Bug: 6346814

Change-Id: I1ddfe8b7fbc5225c1ada71c5211eb253a3952d77
2012-04-24 10:17:19 -07:00
Marc Blank
08ffba4788 Support calendar invite response from UIProvider
Change-Id: I086c956f0c05f836ce370a992606838e906b91dd
2012-04-24 09:08:58 -07:00
Marc Blank
ca855f547d Prevent NPE if message not found
Bug: 6324875
Change-Id: Ie82ef1c33e1b9db7178a183df00cca2c80aecf35
2012-04-23 13:59:22 -07:00
Marc Blank
2f49645c73 Notify on correct account when mailboxes are added
Change-Id: I511aebf76036a2e977bb63bce2d90206c45817f5
2012-04-23 11:39:12 -07:00
Marc Blank
571547336e Remove "Delete account" from Email settings
* This is compatible with how things are done in Gmail

Change-Id: I5389bd34069803d92276b690fe0c04963ca1f2b8
2012-04-23 10:36:14 -07:00
Marc Blank
ab7d500c06 Merge "Restore some sanity to IMAP sync" 2012-04-23 09:16:52 -07:00
Marc Blank
264d514075 Prevent NPE in account/folder query when they no longer exist
Change-Id: I65d72bae84d26142ba37b365effe1d9655de1e2c
2012-04-23 08:42:41 -07:00
Marc Blank
2af67eba86 Restore some sanity to IMAP sync
* 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
2012-04-22 22:03:03 -07:00
Marc Blank
7072612991 Prevent OOM that we've seen unrepeatably w/ IMAP literals
Bug: 6325247
Change-Id: If00a509cebeb75a2375159ba3045fa9089b4b4b2
2012-04-20 18:40:37 -07:00
Marc Blank
228b1753a4 Clear reply/forward flag when move message to sent items
Bug: 6364495
Change-Id: I52d3ede175ee4f1575d54543d82b7c4b32b6ec25
2012-04-19 13:45:47 -07:00
Marc Blank
ea8841a001 Don't crash if we can't create notification intent
Bug: 6359505
Change-Id: I7fa25a1f57937b01859fe3ae5ce5729b06858400
2012-04-19 12:52:30 -07:00
Mindy Pereira
30a6b1fc77 Merge "Usse attachmentsJson." 2012-04-17 08:38:52 -07:00
Marc Blank
97d8157dc6 Fix POP3 message sending (never worked)
* Apparently, this hadn't been tested
* Also small tweak for deleted attachments

Change-Id: Ia07db2c77f7e6dcfa558a262280010f7375c32f0
2012-04-17 08:34:10 -07:00