Commit Graph

3818 Commits

Author SHA1 Message Date
Andy Huang 68a3607895 convert rawFolders into a blob/Parcel
Requires CL I42eadd.

Bug: 7690709
Change-Id: I303f3c5479402a0eed9037ba2c95e00bdc7087b8
2012-12-10 16:37:22 -08:00
Scott Kennedy f9997921cb Change Email vibrate setting from tri-state to checkbox
Migrate the old value as necessary.
Update the unit tests.

Cherry-picked from I1c276ffde3496cbc66846ed4a007088d39f20382 with
minor changes.

Bug: 7624838
Change-Id: I1b3fa331b62f556701bacba5ce9cd64305d9b52a
2012-11-29 12:16:33 -08:00
Scott Kennedy 722b7bc29d Do not vibrate in vibrate mode if ringtone is silent
An empty string as the ringtone URI was triggering the system
vibration while in vibrate mode.

Bug: 7624838
Change-Id: Ide1cb2d8ac5d1295c18770bd053dd1cd0a50feb0
2012-11-28 18:33:00 -08:00
Vikram Aggarwal 2fbe5abcac Notify the folder list in addition to the specific folder.
We might be dropping updates to the FolderListFragment since updates
to individual folders do not currently update the top-level
folder-list URI.

Bug: 7487632 EmailProvider doesn't notify on the folder list URI

Change-Id: I7c673eefd2d9cbaf01a5ca3098f7c4728f841f40
2012-11-06 13:48:54 -08:00
Paul Westbrook 9479110829 Fix missed case for suppressing undo
Change-Id: I1393cf87f0372dfa20c46265ce9e26cbf34b15c2
2012-11-05 13:49:23 -08:00
Paul Westbrook c7636b8a47 Add support to suppressing undo in Email
Bug: 7465798
Change-Id: I5f07b7821bb72ef8c0766da82d335792b010a11c
2012-11-05 13:33:12 -08:00
Paul Westbrook 7e49f89a3a Return a value for conversation mode
Bug: 7312540
Change-Id: I0266df9a71f237666efa17360269f9ee5201668f
2012-10-13 14:42:15 -07:00
Paul Westbrook 986881efe6 Fix multi message notifications
When multiple messages are received, now the View intent
will take the user to to contents of the mailbox, instead of
the viewing the last message

I have filed bug 7216375 to track the issue about receiving
multiple messages in different syncs

Bug: 7129870

Change-Id: I3fdf4680c62565615fcbefc75d72c2a721942604
2012-09-23 13:11:06 -07:00
Marc Blank 35177585a2 Merge "Remove Imap2 from AOSP tree" into jb-ub-mail 2012-09-23 10:25:24 -07:00
Marc Blank 0629f67215 Remove Imap2 from AOSP tree
Bug: 7215459

Change-Id: I0808920c12d0b43455e213fd47c90f4eaee7ee1c
2012-09-22 19:10:27 -07:00
Vikram Aggarwal 016310a054 Fix account order.
The combined account is added both at the top and the bottom
currently: Check L.3103 of EmailProvider.java.

Bug: 7100404 Order of accounts in email is broken

Change-Id: I1cbff04efbb0b50630c655918ffdfa4a5d11c2f7
2012-09-22 16:08:18 -07:00
Marc Blank 114e314968 Return contentUri for all attachments
Bug: 7189815
Change-Id: If76d3a2038b3260fa44a7662854b03f7b6a1696c
2012-09-21 21:18:10 -07:00
Marc Blank 54347010fb Allow legacy imap to sync
* Remove old (and dangerous) constants

Bug: 7210754
Bug: 7212263

Change-Id: I6a1463a653c5c4823a96c9fbb9ca37e53a45b48a
2012-09-21 18:03:17 -07:00
Marc Blank 6bbbc0d57c Prevent duplicate imap folders
Bug: 7212259
Change-Id: Iad43956c4caaf5a61c483af6ade91fa046342879
2012-09-21 17:37:12 -07:00
Marc Blank 78b8c04898 Add another test for "incomplete" accounts
* We have been erroneously marking some accounts "incomplete" and
  this can cause reconciliation to fail after deleting the
  accounts in Settings.
* Still need to investigate why the flag isn't cleared at times...

Bug: 7148506
Bug: 7166598
Change-Id: I0059580a6e4b6a5c54c09b8409c4358ff707ff77
2012-09-21 11:27:19 -07:00
Marc Blank 5c52385838 Restore Imap1
* Restore Imap1 code
* Legacy users will use Imap1
* Existing Imap2 users will continue to use Imap2
* New accounts will be created in Imap1
* More to follow

Bug: 7203993

Change-Id: I8b86fcada59a854fd464d5269c94d00ebae85459
2012-09-21 08:29:09 -07:00
Marc Blank ec0af7822c Merge "Quote username and password in login command" into jb-ub-mail 2012-09-20 11:13:29 -07:00
Marc Blank 6c477f5430 Quote username and password in login command
Bug: 7201914
Change-Id: Iff13a730c308198b01fdd3238149f54075b5d846
2012-09-20 09:57:39 -07:00
Paul Westbrook 652a907672 Hide reply all setting on tablets
Since tablets have the space to fit both the reply and reply all buttons
there is no need to show this setting on these devices

Bug: 7190341
Change-Id: I8a911ee964be6af31b63286db53b335a9e4a8396
2012-09-19 23:10:09 -07:00
Paul Westbrook 5e1db519d9 Fix crash when the Email process is killed
If the Email process is killed during setup, the Account information
wouldn't be set.  Specify this information in the intent as the intent will be delivered
again when the activity is restored

This is a short term fix. Ideally we would switch all of the intents for the setup
activities to use these extras to pass this information, or we would save the state of
SetupData in onSaveInstanceState

Bug: 7163201

Change-Id: Ic1758eb031cd113089073d03f3c2571e37a98b23
2012-09-18 21:02:35 -07:00
Paul Westbrook fb42a915e7 Merge "Fix crash with Email widget" into jb-ub-mail 2012-09-18 18:16:57 -07:00
Paul Westbrook 48b4864840 Fix crash with Email widget
Make sure the projection is correct for the sparse account
cursor

Bug: 7029165
Change-Id: If25ee7718fcd2577320404145de26a859fd4de0a
2012-09-18 18:12:55 -07:00
Mindy Pereira 58e3a2da4c Merge "Return Mindy's senders" into jb-ub-mail 2012-09-18 17:46:41 -07:00
Marc Blank af7d768e87 Return Mindy's senders
* Also prevent NPE

Bug: 7188573
Change-Id: Ic87e7b3411667262e2aa738a38cb2283c9340b03
2012-09-18 16:26:05 -07:00
mindyp 8ff282a260 Lots of fixes to line up with new multi/single move to folder dialog.
This leaves the picker with radion buttons for choosing the trash
and sent folders for imap.

Change-Id: I11bf32458b4d91bd21f2baf9260a69ac13026aaa
2012-09-18 15:56:53 -07:00
Marc Blank b203b2b119 Remove useless class and crazy UIDL logging
* The logging makes it very difficult to debug POP3 issues

Change-Id: Ic3ffb9e5b3240918dff3e713fc2a7c49976efe84
2012-09-18 15:07:50 -07:00
Marc Blank 887ea25ed5 Merge "Show display name in convo list" into jb-ub-mail 2012-09-18 11:17:17 -07:00
Marc Blank d40524bbac Show display name in convo list
Bug: 7170872
Bug: 7144575
Change-Id: Iceaa0616b1fd2db842cd6af0d818a4cc2a2189cc
2012-09-18 11:10:41 -07:00
Marc Blank eaf7e3bce7 Don't smartsend reply inappropriately
Bug: 7172780
Change-Id: Id43b75efab9c6f7a32e7c6bd42696547cc81f413
2012-09-18 09:47:57 -07:00
Marc Blank e161ca513d Properly check for deleted messages
Bug: 7011707
Change-Id: I9b977774e4b6d201dd96da1675bef7e3de88099c
2012-09-18 08:48:53 -07:00
Marc Blank 00d17498c3 Merge "Make sure provider is initialized before setServicesEnabled()" into jb-ub-mail 2012-09-15 14:18:41 -07:00
Marc Blank 93bb868b87 Make sure provider is initialized before setServicesEnabled()
Bug: 7142845
Change-Id: Idf793c5d07e3ea4c4a482696c5a27914fba66022
2012-09-15 10:45:21 -07:00
Marc Blank 8fe771a9e3 Prevent infinite loops (ugh); fix list parsing
* We weren't accounting for string literals in list
  parsing
* We didn't account for a null result in bodystructure
  parse

Bug: 7162595
Change-Id: Idf0ae135dcfb968c722ab9fb56d5d253e74bd623
2012-09-14 11:51:37 -07:00
Marc Blank 787c534f28 Remove duplicate classes; trim addresses in RCPT TO:
Bug: 7133545

Change-Id: Ia1b928083246c5d54a5403b00168a20967517f09
2012-09-11 18:57:14 -07:00
Marc Blank f5ae803847 Merge "Make sure EmailContent is initialized" into jb-ub-mail 2012-09-11 10:14:20 -07:00
Marc Blank 92561ecd56 Make sure EmailContent is initialized
Bug: 7142845
Change-Id: I4299ab2627a4427ff8e96958b2c27f2f827e7794
2012-09-11 10:00:34 -07:00
Marc Blank 8580511541 Handle loadMore when no messages are loaded
Bug: 7129772
Change-Id: I9d2fd4f2bc488930c53e9fe44dc3fa852409b5c0
2012-09-11 09:05:59 -07:00
Marc Blank 74c79a5043 Modify intent names
Change-Id: Iad8b4842056a7f553363f9af47e65665c2b26a5d
2012-09-10 17:18:32 -07:00
Marc Blank 266064bcc7 Add "System Folders" settings
* Add this category and preferences for setting the trash
  and sent items folders

Bug: 7100092

Change-Id: I964e02e5e319b3f04b030d36ed7dca30ed046362
2012-09-10 11:07:18 -07:00
Marc Blank b621f625ef Merge "Don't reset user's port number in settings" into jb-ub-mail 2012-09-09 10:51:44 -07:00
Marc Blank 19e9291c9a Merge "Use correct attachment provider authority" into jb-ub-mail 2012-09-09 10:45:37 -07:00
Marc Blank 665b19e779 Don't reset user's port number in settings
* Spinner onItemSelected is called prior to user input; this
  reverts the port to the security-based default

Change-Id: I1cb67e519e9305ef2384b5f5f305bff1e950e7c4
2012-09-09 10:41:39 -07:00
Marc Blank 393b859577 dump is @hide; remove @Override
Change-Id: I4df3a75a7d0747e62ddd4bbc23ab4008344e49a1
2012-09-09 10:20:12 -07:00
Marc Blank 323954df41 Merge "Create requireSetup attribute; use it for gImap" into jb-ub-mail 2012-09-09 10:15:18 -07:00
Marc Blank 16b07e11c7 Merge "Use resource based mime type for application" into jb-ub-mail 2012-09-09 10:15:05 -07:00
Marc Blank 6e5bccf2c9 Use correct attachment provider authority
* Make sure new code works with old Attachment rows

Bug: 7130972
Change-Id: Ia5d258930f39266517eead535a92bb4380fdb594
2012-09-09 09:32:14 -07:00
Marc Blank 81b0f74efa Create requireSetup attribute; use it for gImap
Change-Id: Id5f37861e4d6f2c2ed0fe98bd8b4d7eb73868c09
2012-09-08 13:08:50 -07:00
Marc Blank 7e5df63fc9 Use resource based mime type for application
Change-Id: I41a3cbf5c810668f9b0885f6614b2e48215901b2
2012-09-08 10:50:40 -07:00
Marc Blank af092bd5f8 EmailProvider dump
Change-Id: Id975c99427b41f4a56235dc6ba5ad515d6700fe5
2012-09-07 19:02:25 -07:00
Marc Blank fdb1635868 More work on FolderPicker
* Only show for Imap2 (hard-coded now w/ STOPSHIP)
* Don't show more than once
* Make sure all folders are set up completely before showing

Change-Id: Ie745c7e2f155496482d213ecfc9eff2009bb23ee
2012-09-07 14:14:19 -07:00