Commit Graph

204 Commits

Author SHA1 Message Date
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
045a4ca46e Fix icon for email widget
Change-Id: If93a0c8f5676da66c8e07dd599f7b83ec5ab1f5d
2012-04-20 12:08:21 -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
10c4d8814e Merge "Don't crash if we can't create notification intent" 2012-04-19 12:59:42 -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
Eric Fischer
aadbdda5a1 Import translations. DO NOT MERGE
Change-Id: I237bfbee1a477059ce7d6eb97399a71457d0aec9
2012-04-19 11:29:36 -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
Eric Fischer
49927a0ae4 Merge "Import translations. DO NOT MERGE" 2012-04-13 16:42:10 -07:00
Marc Blank
3dce9c07be Clear INITIAL_SYNC_NEEDED status after first sync
Change-Id: I9d7a3ae4d3dbbc4af82aae8405fa7e4e38bc8f34
2012-04-13 12:21:42 -07:00
Eric Fischer
fc093a7b88 Import translations. DO NOT MERGE
Change-Id: I9b0c4c8816e5fff58e72c10118b2352a23e282c7
2012-04-13 11:31:43 -07:00
Marc Blank
83ecabc8b2 Add logging
Change-Id: Id1c929591ad0fb451c8a8ba391f80108e2febb5d
2012-04-12 18:10:41 -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
Andy Huang
dda6f1de94 build with support libs for ViewPager
Change-Id: I9f0f68ec2b4b6b6fe98dddb48c5a38cf5e1ef76d
2012-04-11 23:14:48 -07:00
Marc Blank
26cda14a0f Merge "Fix security notifications & crash" 2012-04-11 22:36:35 -07:00
Marc Blank
fec41d34ba Fix security notifications & crash
Bug: 6318784
Change-Id: Iadba96fc38896edf4a22dde2d02430fcb6bf1e29
2012-04-11 19:54:12 -07:00
Eric Fischer
f499c7a4f1 Import translations. DO NOT MERGE
Change-Id: Ia178a1168c4adf17687f6147a24fdabc1e4f52a7
2012-04-11 11:24:07 -07:00
Eric Fischer
2d8dd0f2d1 Merge "Import translations. DO NOT MERGE" 2012-04-10 14:14:34 -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
6e4b9e3907 Oops; fix about-to-be-broken build
Change-Id: I2086eee46eb371a91aacccfd6021704e8875fb00
2012-04-10 12:22:40 -07:00
Marc Blank
ea4bcad7ba Use real email icon in Email2
Change-Id: I12f65f244aed747b6f3717f4ca9ddc3c6f1d63df
2012-04-10 12:17:35 -07:00
Eric Fischer
130d9f4c10 Import translations. DO NOT MERGE
Change-Id: I49ad4575872dd07985914034e29271d77dcab8cc
2012-04-10 12:10:49 -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
ea181b0bce Merge "Add various virtual folders" 2012-04-10 09:31:49 -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
Paul Westbrook
b56fa92fc8 Merge "Change folder settings menu name" 2012-04-10 09:25:09 -07:00
Paul Westbrook
06fbb1354b Merge "Use plain senders view for email. Doesn't provide complex senders info." 2012-04-09 22:43:43 -07:00
Paul Westbrook
b7c5f2003f Change folder settings menu name
Use pre-JB string

Change-Id: Id829294e9f7b245ff51cc751bc834a8fa636d89b
2012-04-09 22:31:53 -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
Mindy Pereira
df1440ddfa Use plain senders view for email. Doesn't provide complex senders info.
Change-Id: I4313a5e8f0f8628546011c63956dd20d5f7f0332
2012-04-09 14:42:58 -07:00
Paul Westbrook
c59b877589 Retrict widget updates to those from Email
We don't want Email to update its widget when changes happen in
Gmail

Change-Id: I2cbcb44d6a983e9824de6653746004237823b0f4
2012-04-09 10:16:31 -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
0d3f91560a Merge "Prevent empty notifications from appearing" 2012-04-05 13:55:49 -07:00
Eric Fischer
0897006e60 Merge "Import translations. DO NOT MERGE" 2012-04-05 13:08:04 -07:00
Eric Fischer
7c930b8d0a Import translations. DO NOT MERGE
Change-Id: I6eb7c2076ec915a2ae7f38344501a195197f1ae5
2012-04-05 12:52:33 -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
3dc2a77d4f Merge "Fix bad oopsie" 2012-04-04 12:39:28 -07:00
Marc Blank
485e7cf7e6 Fix bad oopsie
Change-Id: Ia621948e8dde99bb5221a628c111f76484ccc228
2012-04-04 12:37:33 -07:00
Paul Westbrook
d4308f800a Fix build
Change-Id: I66a1e49ee5c84342e056fbdba23b0c83039812c3
2012-04-04 12:05:28 -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
87fe50ee29 Add the suggestion authority to string constants
Change-Id: I67a219d3dc3e47db42125ef58dcd42a20078ae7b
2012-04-03 10:45:48 -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
Vikram Aggarwal
823a39fcef Fix suggestions package name.
Change-Id: I449ac69d4f0f38a04e1b99e7ab23e6d3095247d3
2012-03-29 15:36:26 -07:00
Vikram Aggarwal
69f44be729 Add search suggestions to Email
Change-Id: I6e25aa841af1350782f680c68d4bbe913cd88964
2012-03-29 10:45:17 -07:00
Paul Westbrook
735a837914 Merge "Connect "folder settings"" 2012-03-28 13:43:52 -07:00
Paul Westbrook
d1f8cf8710 Connect "folder settings"
Bug: 6232266
Change-Id: I65f5e07c14bd4c312dbaea107cdc8404e74efe61
2012-03-28 13:31:13 -07:00
Eric Fischer
7e70047833 Import translations. DO NOT MERGE
Change-Id: I8008f6c6213235975c8f67c63f6dd71bfdb13b1e
2012-03-28 11:17:23 -07:00
Paul Westbrook
cd58dfcd8f No Account suport
A subsequent CL will really add this support in Email

Change-Id: Ief3d78b69418b7b44a1a002ae519a31c925e89a2
2012-03-27 23:25:49 -07:00
Eric Fischer
fae8cc96a2 Import translations. DO NOT MERGE
Change-Id: I3fb15518d09788a9906456dfd4064df9cdf5faf2
2012-03-27 11:04:11 -07:00
Mindy Pereira
dc92a417dc Merge "Fix email widget not able to be added." 2012-03-26 12:38:35 -07:00
Mindy Pereira
edae55003c Fix email widget not able to be added.
Fixes b/6227726 Can't add Email II widget to Home - App isn't installed toast is displayed

Change-Id: I87d91cd0301c57e54057b09703a2a84cb5bbf4e6
2012-03-26 12:12:37 -07:00
Eric Fischer
62f4a8d3bd Merge "Import translations. DO NOT MERGE" 2012-03-26 11:44:01 -07:00
Eric Fischer
8ea5c9fc4f Import translations. DO NOT MERGE
Change-Id: I74d1a57623b0308d157f51a4e4cc09f4be38eae9
2012-03-26 11:42:59 -07:00
Mindy Pereira
26c34f2273 Ignore updating rawFolders.
This is merely for visual changes; the folder_list update will
take care of data changes.

Change-Id: I468c3593b81369e486071272727b51c7c9dd4d6b
2012-03-26 11:07:34 -07:00
Marc Blank
35180be706 Support folder icons in EmailProvider
* Add custom layout for folder_item

Change-Id: I31697ff8fdf867f76b395217a0290931832ba8ae
2012-03-23 20:05:43 -07:00
Marc Blank
8c5527f55a Return folder list for combined inbox
Change-Id: I9f5422988d7f209e07b576f3f16ee3013f67a27c
2012-03-23 17:30:11 -07:00
Eric Fischer
17aeb1e0a8 Import translations. DO NOT MERGE
Change-Id: I0e024f4192810d011db4e95edc64b486b78c24a1
2012-03-23 11:30:40 -07:00
Marc Blank
17a0643edd Merge "Add back widget drawable" 2012-03-23 10:49:02 -07:00
Marc Blank
1fef94be18 Add back widget drawable
Change-Id: I94ebf8a652e7dd103f08fce34e605da76e56fc13
2012-03-23 10:47:36 -07:00
Marc Blank
8c0db2b350 Add widget_info back into project
Bug: 6218910

Change-Id: Ib4dd595c118a72d960fad4ae36e5701a870538d8
2012-03-23 10:27:40 -07:00
Marc Blank
a13d6d2ef0 Add email's mime type to "combined" account
Change-Id: I8f19d5db66302d6dbd4057187a2a1dd00386e539
2012-03-22 17:42:49 -07:00
Paul Westbrook
eb4abafccc Rename AccountCacheProvider -> MailAppProvider
Change-Id: Ia552eecc9597e987d49c61ba9a674da0d7e58a7c
2012-03-22 15:28:08 -07:00