Commit Graph

82 Commits

Author SHA1 Message Date
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
Mindy Pereira
0729415a3e Usse attachmentsJson.
Change-Id: If8af8c1d10359a8024bcb63ad1ba11f008d8f22f
2012-04-16 15:58:37 -07:00
Marc Blank
65381f907b Merge "Don't use SYNCED_MESSAGE_URI for POP3/Drafts/Outbox/Search" 2012-04-16 15:37:12 -07:00
Marc Blank
e7cab0a8a4 Merge "When provider starts, initialize folder status" 2012-04-16 13:52:05 -07:00
Marc Blank
188d4996c8 Merge "Allow undo for combined account" 2012-04-16 13:51:22 -07:00
Marc Blank
37e2be2556 Don't use SYNCED_MESSAGE_URI for POP3/Drafts/Outbox/Search
Bug: 6330408
Change-Id: I84114d95fe4cf2a0137e2e9108ba349e58e21788
2012-04-16 13:44:38 -07:00
Marc Blank
ba30ce9343 Use right uri for combined account compose
Bug: 6323241
Change-Id: I9e705b94363c7a311cdb7cbd04da60aeb63f8fd2
2012-04-16 11:18:01 -07:00
Marc Blank
c1ccdc5f9b When provider starts, initialize folder status
Bug: 6316761

Change-Id: I916ff7b6881971f685420972635423567cd97761
2012-04-16 10:32:22 -07:00
Marc Blank
1a69a28f62 Allow undo for combined account
Bug; 6323124

Change-Id: I62ff6ee34871e6d083e22ff9f2b9e3e4193c7080
2012-04-16 09:37:20 -07:00
Marc Blank
3dce9c07be Clear INITIAL_SYNC_NEEDED status after first sync
Change-Id: I9d7a3ae4d3dbbc4af82aae8405fa7e4e38bc8f34
2012-04-13 12:21:42 -07:00
Marc Blank
733aef1204 Rework of attachment loading/saving
* Respect the destination for attachment downloading
* Rework attachment load/save for IMAP/POP

Change-Id: I94fdcea5ec6d397aba554fec3753b2de9cb5f1dd
2012-04-12 17:24:41 -07:00
Marc Blank
b6d43d73c1 Add support for downloading/forwarding stupidly forwarded atts
Bug: 6315979
Change-Id: I55bb51278d50b40730d279b67bf425ed6b72a616
2012-04-12 12:11:02 -07:00
Marc Blank
fec41d34ba Fix security notifications & crash
Bug: 6318784
Change-Id: Iadba96fc38896edf4a22dde2d02430fcb6bf1e29
2012-04-11 19:54:12 -07:00
Vikram Aggarwal
d1241db03e Merge "Add the starred folder type" 2012-04-10 13:00:26 -07:00
Vikram Aggarwal
cd1f1f578a Add the starred folder type
Change-Id: I41eeea30aff21c8d6dbc82ab73cc8f13136dfffa
2012-04-10 12:57:59 -07:00
Marc Blank
3b22996245 Make sure sync sets up TempDirectory
Bug: 6316466
Change-Id: I7a7254692db3d53cb16af7b0faa9201a574eab7f
2012-04-10 12:48:00 -07:00
Marc Blank
2e4b884c1d Set forwarded/replied-to flags in ref message
* Also, little bit of cleanup

Bug: 6282892
Change-Id: Ie36e6ce7eaedaed59b5b9480b8ce4eac2025c620
2012-04-10 11:11:55 -07:00
Marc Blank
157a9bd57d Set acct sync status to "initial sync needed" until inbox exists
* Notify on account when mailboxes are added

Change-Id: I8b78c37b5305a28a261a82308bb5bf88c0728fdc
2012-04-10 09:57:40 -07:00
Marc Blank
3a4448facc Add various virtual folders
* 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
2012-04-10 09:26:09 -07:00
Marc Blank
081582122c Merge "Add attachments to ui messages" 2012-04-09 22:21:48 -07:00
Marc Blank
39edfeb840 Add attachments to ui messages
Bug: 6309686
Change-Id: If3d25e6273c453b99aa0acfcca8e7d5636c7de3a
2012-04-09 20:07:07 -07:00
Marc Blank
9c8cc9f504 Fix total count for drafts
Bug: 6310774

Change-Id: I95db8c4751553da583ecde8b003d8d532c64a995
2012-04-09 17:06:32 -07:00
Marc Blank
f81cb2a7ef Handle no-accounts startup
* Properly returns result to AbstractActivityController
* Still crashes after account is created, however, since no inbox will
  exist

Change-Id: Id4da70e785d5795463aa609d571626cfcb01b85f
2012-04-08 11:01:12 -07:00
Marc Blank
46c3132c0b Remove lots o' logging
Change-Id: Iebd461a80c1dfbe11ebb86e643fef670222bff21
2012-04-06 17:43:13 -07:00
Marc Blank
2f6e7797c1 Send account uri with messages
Change-Id: Ib42578726ed42a22c0841529dd78e3976e2e7f88
2012-04-06 16:07:37 -07:00
Marc Blank
8e4b457b86 Add column for eventual thread topic
Change-Id: I23a66d3ddf2fbdce516c161017713809af458d3d
2012-04-06 15:32:46 -07:00
Paul Westbrook
05ba972408 Move settings into account
Change-Id: I0e791ead6c54af96afbfdf1d38457fb2fb41c4dc
2012-04-06 12:38:10 -07:00
Marc Blank
1f1a500eaf Set ACCOUNTS_LOADED extra with accounts cursor
Change-Id: If33f9e532aacc39caf99b58b8b955b788147d7b1
2012-04-06 12:07:25 -07:00
Marc Blank
948b008f9a Hook up settings, draft, sendmail in combined inbox
Change-Id: I91fe4799786ade66e6965056f01e2caf4adca705
2012-04-06 10:37:14 -07:00
Marc Blank
27f666af7f Prevent empty notifications from appearing
Bug: 6232216
Change-Id: I079c9467fe43649f0d0d744a34fd234697e0f765
2012-04-05 12:13:16 -07:00
Marc Blank
e228be9d0d Merge "Handle "always show pictures for this sender"" 2012-04-05 11:53:47 -07:00
Marc Blank
fcc9c80af5 Close cursor
Change-Id: I6c983c921f9b27f1d69e603d96e57d285a53750a
2012-04-05 11:48:43 -07:00
Marc Blank
bdf0c30462 Handle "always show pictures for this sender"
Change-Id: Ib0bc55cd1004c5ec5415bc8d0e20f5f0f30f55b7
2012-04-05 11:21:21 -07:00
Marc Blank
385460b6f0 Set embedsExternalResources column in messages, as appropriate
* This will allow "Show pictures" to work; unclear how the
  "always show pictures" button is supposed to work

Bug: 6282773
Change-Id: I459938d98882f83a9571d2c96a825b701234e4b3
2012-04-05 10:30:27 -07:00
Marc Blank
d52710242e Set "supports settings" on EAS folders (database upgrade)
Change-Id: I19324d25846e8f12a5e4783c427291d4fc13bd3d
2012-04-04 14:20:24 -07:00
Marc Blank
485e7cf7e6 Fix bad oopsie
Change-Id: Ia621948e8dde99bb5221a628c111f76484ccc228
2012-04-04 12:37:33 -07:00
Marc Blank
f174f00818 Set "supports settings" capability for EAS folders
Change-Id: Ifc6589c9419ad4069531998c31907d0eb7854ce5
2012-04-04 11:49:35 -07:00
Marc Blank
aad19ff4fe Use mailbox name in settings
Bug: 6282417
Change-Id: Ib763ed6fac8c047fc2b8ec1c6ffad052f2b69340
2012-04-04 11:25:07 -07:00
Marc Blank
19589ec241 Merge "Set draftType in outgoing messages and return it" 2012-04-04 10:42:54 -07:00
Marc Blank
d731127c05 Set draftType in outgoing messages and return it
Change-Id: Ie95d04b5da8125f846e40c3d703655f35d599cd1
2012-04-04 10:39:47 -07:00
Mindy Pereira
150a47e250 Send parcelable account not just the name,
Change-Id: I4abb06662301690d88bf82ab69d1e5fc1a388169
2012-04-03 18:11:35 -07:00
Marc Blank
3adeda0397 Set attachments flag when saving/updating outbox/draft message
Bug: 6282601
Change-Id: Ie9c756b59b8aa721630e38aa51001711031503c9
2012-04-03 12:36:57 -07:00
Vikram Aggarwal
f86a06cdad Correct authority for suggestions provider
Change-Id: Ic4fb800b54f0777f3ad4cd5417153dd5b0b0e01d
2012-04-03 09:36:37 -07:00
Mindy Pereira
78f3f29b1f Merge "Add Email shortcuts." 2012-04-02 16:31:43 -07:00
Mindy Pereira
3361003fd9 Add Email shortcuts.
Change-Id: I2cfd1a347cda0799269f21abfe6be7b9c49401c2
2012-04-02 16:04:50 -07:00
Marc Blank
f37f4e708e Merge "Support folder icons in EmailProvider" 2012-03-31 13:17:24 -07:00