Commit Graph

3675 Commits

Author SHA1 Message Date
Paul Westbrook
d658fb6cac Set clear_when_task_reset flag on get content intent
Bug: 6401627
Change-Id: I546d51e605bf9483bd36f56adf5b21c1b3cd4c70
2012-04-26 18:48:08 -07:00
Paul Westbrook
65432baf25 set FLAG_ACTIVITY_TASK_ON_HOME on notification intent
Bug: 6384825
Change-Id: I9fc577ab3acdc608ce6e1781d438cc049c6ddcd6
2012-04-26 18:26:57 -07:00
Marc Blank
03cd72805d Revert to old Email app
* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
2012-04-25 13:58:23 -07:00
Paul Westbrook
05ba972408 Move settings into account
Change-Id: I0e791ead6c54af96afbfdf1d38457fb2fb41c4dc
2012-04-06 12:38:10 -07:00
Paul Westbrook
6f627965d0 Removed some UI provider code from EmailProvider
Leaving this in was breaking the build, as new files were required.

This change is just to keep this version of Email building.
Eventuually Email2 will replace this one.

Change-Id: I96fbed63a18a11bcdc64c2f0bbe8b100fdb273d9
2012-03-20 16:33:03 -07:00
Vikram Aggarwal
e7dc6a34d4 AutoAdvance.OLDER always
Change-Id: Ifaf1ab14db0a3415d91b910b726bf9c8e0fec1ea
2012-03-16 15:49:59 -07:00
Vikram Aggarwal
05b99a0d8c AutoAdvance.LIST is safer than AutoAdvance.NEWER
Change-Id: I72ba37cb8a7259c13afcfaabb70a11d65f536b69
2012-03-16 15:12:47 -07:00
Mindy Pereira
a7d788d54a Fix build.
Change-Id: I077de029e1da06e3dcd6dae438a6c64b58e9e127
2012-03-13 16:12:51 -07:00
Mindy Pereira
4bf4edcf64 Send uri of folder this item is in instead of just the id.
Change-Id: I5b7ba10497ac2f5081de02074d525e39d73ba9b0
2012-03-13 16:04:44 -07:00
Paul Westbrook
1d202e274d Support new folder id
Change-Id: If971ca60e5029487dd1c12b4664c6b64f3133f4a
2012-03-13 14:06:03 -07:00
Marc Blank
ebbf8e1040 Merge "Add support for "Load more" for search results" 2012-03-12 17:19:06 -07:00
Marc Blank
6550ae9773 Add support for "Load more" for search results
Change-Id: Ie16e11ced34c85de02980c85e2db9d61faed5b6f
2012-03-12 17:11:19 -07:00
Andy Huang
dd32d14187 cross-project refactoring
Attachment.mimeType -> contentType
Attachment.contentUri(String) -> contentUri(Uri)

Change-Id: Id35fb698d120013c00878f416f9b68a2f0095fca
2012-03-12 13:31:33 -07:00
Marc Blank
34943d241d Trigger load of full msg when opening partially loaded msg
Change-Id: Ia49aa7f423ceac6697d95abf66e10bb5998c5747
2012-03-12 10:37:19 -07:00
Marc Blank
824f776365 Fix up load of IMAP attachments
Change-Id: I2f55fc2c3d92eff72ebfd50ff3f782928f3a85a2
2012-03-12 09:11:46 -07:00
Marc Blank
e2166f7548 Add totalCount to Mailbox; send to UIProvider
Change-Id: If01868eb27a97540683f25148f32b8c41ae59c17
2012-03-10 20:15:58 -08:00
Marc Blank
9e266d12fb Implement "load more" for POP/IMAP
* Search not yet implemented

Change-Id: Ic808d3adcb48a2b4370fda77d7b108ea656de5c4
2012-03-10 15:41:43 -08:00
Marc Blank
25fe72687d Notify on attachment's message when updates occur
Change-Id: I23d537992fbf8b0f0dab3afaf37cacfd5587d1f3
2012-03-09 15:33:39 -08:00
Marc Blank
55d0e821ea Report search result total to UI
Change-Id: Ic88e7594b98548a96c8c6f96d2f8a585e539f520
2012-03-09 14:04:49 -08:00
Marc Blank
ebb79619e8 Move account delete logic to EmailProvider
* This functionality had to move away from Controller

Change-Id: I557918a325eab8c83a9728fa1ce33dde8b86158f
2012-03-09 12:59:21 -08:00
Marc Blank
ab6321e2c4 Fix SMTP sending
Bug: 6134036
Change-Id: Id48e4bd17e7493d873d888027e68c7eb86d23198
2012-03-09 10:26:33 -08:00
Marc Blank
3408ad1113 Use proper column in loadAttachmentCallback
Bug: 6138389

Change-Id: Icd9b3454670d29e1fbd1dfc309700eb1643cc9ee
2012-03-08 21:18:04 -08:00
Marc Blank
97e4651c45 Repair brain damage
Change-Id: I1f2367476f78c5cd78d8a59e099debabceb95e3a
2012-03-08 19:48:11 -08:00
Marc Blank
c3643cf2b5 Fix search to work with IMAP
Change-Id: Ic3d9dfec0e30323e258e59630c2ca42bb1c7e98c
2012-03-08 17:23:49 -08:00
Marc Blank
26195ef64d Handle searchUri (first pass)
Change-Id: I75f7a757322e1d4f9b4eac92b9ecbb6a0cc6580b
2012-03-08 15:14:48 -08:00
Marc Blank
06a382f26f Fix up delete to handle trash/drafts deletions
* Also, while we're here, create default "last touched time" for drafts and
  sent so that they appear in the initial recent list

Change-Id: Ie2fe20b34625b5616dac5581f9bbd015f52a82bc
2012-03-08 14:36:26 -08:00
Marc Blank
92f9de3c5c Merge "Return searchUri with accounts; return empty cursor for now" 2012-03-08 08:21:54 -08:00
Marc Blank
ef94d9285e Return searchUri with accounts; return empty cursor for now
Change-Id: I160676a492ef359007676c3aa9f56f9015b64c64
2012-03-08 08:17:52 -08:00
Brian Muramatsu
6b4cdee94f am 938ec79a: am d163332b: am d5fdf404: Merge "Fix STARTTLS handshake error in Email\'s SmtpSender class"
* commit '938ec79ac92ef9119ad75b49691b2121886d867b':
  Fix STARTTLS handshake error in Email's SmtpSender class
2012-03-07 17:22:07 -08:00
Marc Blank
420e97f0f8 Support attachment commands from UIProvider
Change-Id: Ib457808bdb424275c0abe6e1d86e3b9d33406780
2012-03-07 14:57:19 -08:00
Marc Blank
70bbe5ec3c Add columns to Attachment for UIProvider use
Change-Id: I7f85431f409dbd6a5bd6d111b18d1fc89c00b9b2
2012-03-07 13:10:23 -08:00
Andy Huang
b4a4ca99a9 Attachment SYNCED column is going away
Change-Id: I19476bc5a9a9e557e61a7347689129ce552b3ff9
2012-03-07 10:29:23 -08:00
Marc Blank
af8f8a48ee Reconcile accounts in deleteAccountPIMData
Change-Id: Ifd17ef76e13ddcfa07c84429dca7bf19e6cbcfab
2012-03-07 08:43:08 -08:00
Brian Muramatsu
d163332bc5 am d5fdf404: Merge "Fix STARTTLS handshake error in Email\'s SmtpSender class"
* commit 'd5fdf40490033bbafbd946e92094b18e931c1a76':
  Fix STARTTLS handshake error in Email's SmtpSender class
2012-03-07 02:09:18 -08:00
Mindy Pereira
71b57354c1 Listen for application/email-ls so we can distinguish between email2/gmail2.
Change-Id: I1b30738b0d8a3f6830dfc6d67b6db385771bba15
2012-03-06 08:47:52 -08:00
Mindy Pereira
6ae4b080d4 Set compose to email2 until we get rid of the email app.
Email2 supports the compose intent.

Change-Id: I739ccb95b63806ed46dfa74b721b5a43665aa1c4
2012-03-06 08:24:22 -08:00
Paul Westbrook
27282ed34a Change the authority for Email2's account cache provider
Allow the account cache cursor to have the notification uri set

Change-Id: I8b01ada0b787fe7a709ad7feacacb91acc3da826
2012-03-05 16:21:14 -08:00
Marc Blank
bc7f451442 Fix IMAP/POP notifications
* Make sure the default Inbox is always notified
* Use correct "new" count for mailbox

Change-Id: Id66c76e415589f6eb6fdad0649ae039fd45c1205
2012-03-05 10:23:38 -08:00
Marc Blank
258ab6ee84 Prevent NPE in AccountCheckSettings
Bug: 5911793
Change-Id: I2834ab6d139e734baed6790098f0405e6a4e957a
2012-03-02 12:41:01 -08:00
Marc Blank
e1a6088ee4 Don't try to refresh combined inbox
Bug: 6022440
Change-Id: I182c0da80debff5579b850c20015253864a0cf9f
2012-03-02 10:31:11 -08:00
Marc Blank
eccf7ee9a4 Hook up attachment queries; use more specific notifications
Change-Id: I01198b9ddf63e1edd9a35a81c15e0cf791702184
2012-03-02 09:16:26 -08:00
Marc Blank
ceedaa3c54 Fix settingsQueryUri
Change-Id: I519f9e52ebe6a2eeeed78913e0f2b0c01539161e
2012-03-01 13:24:58 -08:00
Marc Blank
d5187106d1 Handle account settings query in EmailProvider
Change-Id: Iae33b00c3fa17fe381c0c66d9e159a2717e0f201
2012-03-01 11:36:15 -08:00
Marc Blank
c7a10613b3 Clean up updated messages in non-syncing mailboxes
* We'll just delete the updates for that mailbox

Change-Id: I6eec384334c9b1ea42ec064a49f938c772c44489
2012-02-29 16:50:14 -08:00
Misha Nasledov
c31e2555bf Fix STARTTLS handshake error in Email's SmtpSender class
The Email.apk checks for "-STARTTLS" in the SMTP server's EHLO response
but SMTP servers may respond with STARTTLS on the last line as such:

250 STARTTLS

Or even as part of a line as such:

250-XSECURITY=NONE,STARTTLS

Checking for "-STARTTLS" in this case will break. The fix is to simply check
for "STARTTLS" instead.

See http://code.google.com/p/android/issues/detail?id=19109
And http://code.google.com/p/android/issues/detail?id=2309

Change-Id: I3a590a4398cb664f46875650550986a67f320f76
2012-02-29 03:15:10 -08:00
Paul Westbrook
108f7b639a Support the always_show_images column
Change-Id: I4817ca936cc2775cd22b878d17045e0ede0af04d
2012-02-28 16:19:37 -08:00
Marc Blank
27be3474a2 Actually put composeUri into the cursor; d'oh!
Change-Id: I1295bb7501c3481f0d5e21e7cc76c1b19ab3047d
2012-02-28 13:25:10 -08:00
Marc Blank
d9201da55b Setup composeUri for accounts in EmailProvider
* Add intent filter in manifest

Change-Id: Ifbacfcb6109d76d48dabb87eb45ea28ec4278ad8
2012-02-28 10:16:43 -08:00
Marc Blank
8c4b6e40cf Hook up settingsIntentUri in EmailProvider
Change-Id: Icc47a7dd29f6707443f5b56bdc6df86818295662
2012-02-28 09:15:53 -08:00
Marc Blank
fd077592ee Use EmailProvider to create account list
Change-Id: Iedd99ecb95066c3b7e089e3b987a0caed44b97e5
2012-02-27 13:22:45 -08:00