Commit Graph

7816 Commits

Author SHA1 Message Date
Yu Ping Hu 9ae81e2af0 Move system folder string resources to emailcommon.
This permits us to move shared code for looking up system
folder names to emailcommon, which is also in this change.

Also renames emailcommon2 to emailcommon.

This is part of a multi-project submit with
I4a071a07c3e33aaa4ea404eb66a8db1eabc9ef0e and
I5746c0353783f9b29d52d6540472588c6542a6a2.

Bug: 8383232

Change-Id: I6c6eec4f1bcf2abd54c1ed05da1add8d894ee403
2013-03-19 19:45:52 -07:00
Yu Ping Hu 24e165323e Increment Email version.
Change-Id: Ic80b0c205aca5734e0344c1acc8997d7e9b8b7ab
2013-03-19 14:41:25 -07:00
Yu Ping Hu 24aa23442d Merge "Remove useless UI notifications in uiUndo." into jb-ub-mail-ur9 2013-03-19 18:33:18 +00:00
Yu Ping Hu 91107a4c56 Remove useless UI notifications in uiUndo.
The uris supplied for these are bogus (lack IDs), and at any
rate the actual undo itself should notify the UI. (That's
currently broken, but not for want of trying, but the point
is that needs to get fixed anyway.)

Bug: 8373349
Change-Id: Id0f4e9fa45f2ece42d07f1f350d841f00270a8d9
2013-03-18 14:41:24 -07:00
Baligh Uddin ce7773981b Import translations. DO NOT MERGE
Change-Id: Iaa30007bc77bd17d6316c610b9482d229d2b55e0
Auto-generated-cl: translation import
2013-03-18 12:18:00 -07:00
Yu Ping Hu d0e7d88f43 Fix undo to use the correct URI.
Bug: 8373349
Change-Id: Ia23b60a1f82be16cb48afe5cf239e1c588b192a1
2013-03-15 19:32:32 -07:00
Vikram Aggarwal aa7e415d21 Merge "Single Actionbar: no more split" into jb-ub-mail-ur9 2013-03-15 22:34:49 +00:00
Vikram Aggarwal 1c50031f51 Single Actionbar: no more split
Single actionbar for Email

Bug: 8351542 Single action bar and new account selector
Change-Id: I4f8d54bdf5d4bbe2dfaae6e0121780b2a50aeb7f
2013-03-15 15:22:19 -07:00
Yu Ping Hu ed1cc32fc2 Increment Email version number.
Change-Id: I7f41ae6fd02d4709a7d285c3acacd4612b0d67cd
2013-03-15 14:30:04 -07:00
Yu Ping Hu 3e88d65aa8 Fix inboxes in POP for non-english.
Same as I27b422b4b9a3568c899beda41c96e61eb77c4ad3
but for POP.

Bug: 8393126
Change-Id: Ifa7ef3aa4080ec4c39309f988f041344fc4e8b54
2013-03-14 20:29:10 -07:00
Yu Ping Hu b3b47ef971 Merge ""Fix" Inboxes in non-English languages for IMAP." into jb-ub-mail-ur9 2013-03-15 02:42:29 +00:00
Yu Ping Hu 5187e702d6 "Fix" Inboxes in non-English languages for IMAP.
Without this change, languages where the inbox is not named
"Inbox" will never initialize IMAP accounts correctly.

This change "works" because
LegacyConversions.inferMailboxTypeFromName matches against
server name. Obviously this code's bad and I should feel
bad, but for now this change at least makes the app usable
in other languages and leaves the code in the simplest state
for fixing later.

Bug: 8393126
Change-Id: I27b422b4b9a3568c899beda41c96e61eb77c4ad3
2013-03-15 02:01:22 +00:00
Paul Westbrook 5ed8b266a4 Fix some problems with move message
Make Email respect the accepts moved mail flag

Don't throw an exception when receiving on the
folders_updated column

Bug: 8370675
Change-Id: I92c630577e6f572361bbaf68d8e5d0bfb6204951
2013-03-14 16:06:11 -07:00
Yu Ping Hu 8e2c4056ca Clean up dead code. Should be a no-op for functionality.
Also includes a fix for saving a draft that's already
been saved (used to create a new one).

The following were unused:
- accountIdAddToField
- mailboxIdAddToField
- uisendmail
- uisavedraft
- uiupdatedraft
- uisenddraft

Deleting those also allows us to remove the translation
from the Bundle used by calls to the ContentValues used by
update (since the update paths are now gone).

Change-Id: I87f2875e3272177a128a8ff65541e51b1f2d05fc
2013-03-14 14:40:39 -07:00
Yu Ping Hu a6cd7cbd63 Merge "Fix IMAP send by ensuring system mailboxes exist." into jb-ub-mail-ur9 2013-03-14 17:17:54 +00:00
Yu Ping Hu f7055e2618 Fix IMAP send by ensuring system mailboxes exist.
This is a quick fix to get it working ASAP, I will improve
how system folders are created when handling b/8383232.

Bug: 8307247
Change-Id: I6ea24ea756911c60d4eca69ce65d27dff33850c8
2013-03-14 17:07:00 +00:00
Baligh Uddin 1bba64ca02 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9 2013-03-14 04:54:27 +00:00
Alice Yang 700fb3c23d Merge "Revert "Change "hide checkboxes" to "show checkboxes""" into jb-ub-mail-ur9 2013-03-13 21:31:30 +00:00
Alice Yang a833b36ec2 Revert "Change "hide checkboxes" to "show checkboxes""
This reverts commit 5742d44917.

Bug 8370186

Change-Id: Ie15b7c30aaba8df8678d15e19dcd38fddea6de13
2013-03-13 14:18:19 -07:00
Paul Westbrook c389a54508 Fix launching Account settings
The intent action in the manifest didn't match what was specified in account
authenticator preference

Bug: 8359559
Change-Id: Ic4c95ac954913d0cb5531cebcdddddded14ac1b2
2013-03-12 22:57:54 -07:00
Paul Westbrook 88c80b775b Load replyall setting
Bug: 8374501
Change-Id: Ibf01a9c27ad05e3d6c1b172a255299d8af3b69ea
2013-03-12 21:28:26 -07:00
Paul Westbrook 25e966ed72 Merge "Log when there are an unexpected number of attachments" into jb-ub-mail-ur9 2013-03-13 02:44:19 +00:00
Paul Westbrook ae171be336 Log when there are an unexpected number of attachments
Bug: 8373916
Change-Id: I89c4e754648e59855b153d31e59afe560360fd9c
2013-03-12 19:04:28 -07:00
Paul Westbrook a01c85229b Merge "Revert "Revert "Remove extra Imap authenticator"" :)" into jb-ub-mail-ur9 2013-03-13 00:32:33 +00:00
Paul Westbrook 2af7d01ef7 Revert "Revert "Remove extra Imap authenticator"" :)
This reverts commit 8fcf4d7976

Change-Id: If5a83b82ec64b6acef7c9f1c7896ef144aacfd1f
2013-03-13 00:24:02 +00:00
Paul Westbrook e0cc62d72f Merge "Revert "Remove extra Imap authenticator"" into jb-ub-mail-ur9 2013-03-12 23:05:41 +00:00
Paul Westbrook 8fcf4d7976 Revert "Remove extra Imap authenticator"
This reverts commit 1310fb5790

Change-Id: Ife2e885b1d772b6c322c607a61023eabdcc26efa
2013-03-12 23:03:45 +00:00
Paul Westbrook 9ab4553ea8 Merge "Remove extra Imap authenticator" into jb-ub-mail-ur9 2013-03-12 22:25:14 +00:00
Paul Westbrook fdc5e52ef9 Merge "Simplification of app initialization" into jb-ub-mail-ur9 2013-03-12 22:24:40 +00:00
Yu Ping Hu 9d91dd8023 Specify correct sync extras for user-requested syncs.
BUG: 8364227
Change-Id: Icfc97c92e5ecc9c2abd83b73cf67a5e10408cede
2013-03-12 12:38:01 -07:00
Baligh Uddin 6be6d42ed3 Import translations. DO NOT MERGE
Change-Id: Id7dad5ef31e6571c60da1569f8103d4833fdb3ae
Auto-generated-cl: translation import
2013-03-12 12:15:44 -07:00
Paul Westbrook 06c358dfee Simplification of app initialization
Specify a account query uri in a resource, and remove the old receiver

Change-Id: Ia04dccfc95e0bb1854bba2e6f51e2de1546d72ce
2013-03-11 23:48:44 -07:00
Paul Westbrook 1310fb5790 Remove extra Imap authenticator
Bug: 7211288
Change-Id: I130869a489fdfa95343022316a5ed4533d1f102c
2013-03-11 14:36:45 -07:00
Paul Westbrook 258776d784 Remove unnecessary resource overlay
Bug: 8170660
Change-Id: Iba1ed6e6f9e605c66a78d574e6450dcba0b9b195
2013-03-08 18:01:12 -08:00
Paul Westbrook 5a3d863a43 Add support for feedback
Change-Id: I6de8c0117f79c0be05d3db2fc108f8bf61415783
2013-03-08 17:15:00 -08:00
Paul Westbrook 95bb350f38 Fix NPE when adding account with security policy
When adding an Exchange account with a security policy, Email
generates a notification to let the user enable the policy. The
code that generates the notification attemptes to load the folder
as part of the base notification.  Before the account policy has been
configured, it isn't possible to load the folder.  We need to handle
a null folder when generating the notification

Also, imporoved the logging when an exception is thrown from the
PolicyService

Bug: 8341882
Change-Id: I33ff57adc3c130e8318910e352146b8ea56f9a2c
2013-03-07 23:00:47 -08:00
Yu Ping Hu 1eebd2f61c Increment version for email.
Change-Id: If42d894e2314eaf7caf2462bbff72d60956931ae
2013-03-07 18:29:24 -08:00
Scott Kennedy 1cea05ac37 Merge "Make widgets work again" into jb-ub-mail-ur9 2013-03-08 01:45:22 +00:00
Yu Ping Hu c813ab6cc6 Increment email2 version code.
Change-Id: Iaeeb0b4adafd4275f068336dbbe94484ce754e44
2013-03-07 16:42:46 -08:00
Yu Ping Hu 6967b6b6bc Merge "When folder is changed, also update conversation list." into jb-ub-mail-ur9 2013-03-07 19:44:50 +00:00
Scott Kennedy dfd2c87740 Make widgets work again
We can't send Folder parcelables to RemoteViews, so let's just send
what we need: two URIs and a String.

Bug: 8330949
Change-Id: Ic3f272e1bae4530cdc7776fd88eeb7bcb1a7dae3
2013-03-07 11:00:43 -08:00
Yu Ping Hu fc0dae9cd7 When folder is changed, also update conversation list.
Also add the folder's total count to the extras for the
conversation list cursor.

BUG: 7480726
Change-Id: I3215fed561deb8430fd6d6c680bdb44ca87cc162
2013-03-06 19:01:41 -08:00
Paul Westbrook 32881e8dd3 Fix NPE after migrating older account
Change-Id: Ifeb3b1853ce3efd725227941103d29a00bc14fc2
2013-03-05 14:07:47 -08:00
Paul Westbrook 1bc34c4317 Set local sdk version
Change-Id: I736591787527849222d95574bb092437d18b04f5
2013-03-05 09:51:58 -08:00
Vikram Aggarwal 3f0f64f79b Enable the MailLogService for Email
Bug: 8293525 Add debugging information for Gmail
Change-Id: I96e65c64f2347c17c497667258a567f7b618b121
2013-03-04 10:47:10 -08:00
Paul Westbrook 3bf7281800 Temporary Work around bug 8170660
For some reason, Email crashes when measuring the
RecipientsEditTextView, when replying to a message.  Replying to the
same message from Gmail2 doesn't cause this crash

This CL just sets a height on the recipient view

Bug: 8170660
Change-Id: Ib1cd7da3ac423140a0a9d9fb17a3de0c42a20b15
2013-03-01 14:21:14 -08:00
Yu Ping Hu 4da3641292 Clean up ServiceProxy.
ServiceProxy had more layers of threads than needed,
and also had out of date comments.

Change-Id: I0b9de4eeb9ba4b84b8e058279adff5172941a8d0
2013-02-28 14:33:09 -08:00
Paul Westbrook 9a95253846 Cache attachments on send
Cache attachments in a email directory when sending to allow sending
to succeed when the content provider has a permission

Bug: 7381557
Change-Id: Icf9faead2048de237228625f998b42feade48978
2013-02-27 09:43:31 -08:00
Paul Westbrook 3e2fdd33e3 Fix account creation
Notifications were not being sent on account additions,
so the UI would reprompt to add an account, after an account
was added.  Now, the appropriate notifications are sent.

Also, fixed some cases where try/finally blocks were not used
to ensure that cursors were being closed.

Change-Id: If65934a34d995471fd5102fbe7e8cacbed5aae44
2013-02-26 12:04:29 -08:00
Paul Westbrook 4b6d17ebea Remove versionName
This is now set as part of the build process

Change-Id: Ic4db38df434031ce43c5a929dc7bac157a26d0a0
2013-02-25 12:11:02 -08:00