Commit Graph

9623 Commits

Author SHA1 Message Date
Tony Mantler 3b6b9172e4 More setup layout tweaks
b/13675117
b/13677552

Change-Id: I8a89d634f0c1d6e0766b6ecf0a839abc03864af6
2014-03-31 15:58:25 -07:00
Tony Mantler 243d5fb8ab Merge "Add more padding in setup flow for wide screens" into ub-mail-algol 2014-03-31 22:58:10 +00:00
James Lemieux f456b4f9d4 Merge "Show "To:<Names>" in sent and outbox index views" into ub-mail-algol 2014-03-31 21:11:40 +00:00
James Lemieux 603d1bfa5e Merge "Fix an out-of-date comment." into ub-mail-algol 2014-03-31 21:11:19 +00:00
James Lemieux 974ccb1735 Fix an out-of-date comment.
The code related to the comment didn't ship as part of Kitkat MR2 and instead will go out with the platform L release.

Change-Id: Ib9ece3390005b5b0217e0c5540322802b1c096ad
2014-03-31 21:09:51 +00:00
Anthony Lee 8a5a5779a3 Merge "b/13659368. Ensure properly download status for attachments on failures." into ub-mail-algol 2014-03-31 20:47:27 +00:00
Anthony Lee b6125ae385 b/13659368. Ensure properly download status for attachments on failures.
The reason why the UI is wedged is becasue it doesn't
see a state transition in the status. So now we detect the situation
where the user is trying to download an ineligible file and force
the status to indicate that it was a failure to dismiss the UI and
to show the correct error message.

Change-Id: I9264966830a317724bf2fe469ae570860ba7c2a9
2014-03-31 13:21:28 -07:00
James Lemieux 469c426376 Show "To:<Names>" in sent and outbox index views
b/13304929

The solution being delivered introduces a new folder capability:
UIProvider.FolderCapabilities.SHOW_RECIPIENTS which indicates a folder
should display "To: " in front of its participants list because it
is a folder containing outgoing mail or sent mail (thus viewing
recipients is more useful than senders). This capability is returned
for Drafts, Sent, and Outbox.

Note that extra work was required to make this function properly in
the widget we export to the launcher. See BaseWidgetProvider and
friends for details.

Change-Id: Ie7b077b8dd8934182de5e94a90fa163e8105faac
2014-03-31 12:35:15 -07:00
Tony Mantler 5ee38b7444 Add more padding in setup flow for wide screens
b/13728657

Change-Id: Ib7c996d188b9f70cc4adbd2a7545c5f8a2099d87
2014-03-31 11:44:21 -07:00
Tony Mantler 296cde5603 Add disambiguation screen when user protocol choice differs from providers.xml
b/13640868

Change-Id: I75116f30e9c12d2e8b6757bf208e1519e438aed9
2014-03-28 17:08:04 -07:00
Tony Mantler ca7df3f234 Begone, foul keyboard!
Hide keyboard when advancing setup screens

b/13640446

Change-Id: I913a6afe9bcd4864bf218cab59a3d9e84b23f7d9
2014-03-28 11:20:23 -07:00
Tony Mantler 0f151d5fb5 Merge "Move nav buttons to left and right on account setup flow" into ub-mail-algol 2014-03-28 17:29:38 +00:00
James Lemieux 5057d6dffb Replying to a Message with an encoded email address shows the encoded address in the to field.
b/11658428

As per Yu Ping's advice, we alter the storage of all email addresses (from, to, cc, bcc and
replyto) to be stored in *decoded* format within our database. This makes them both human
readable when inspecting the database manually and alleviates the need to repeatedly decode
them before they are displayed anywhere in our UI layers.

As part of this bugfix, I resurrected several tests related to the LegacyConversions class out of
LegacyConversionsTests and into a new (not Suppressed) test class: LegacyConversionsTest

Change-Id: Ie2e3264646e25c08c4ba74f60b3e1090c052e6c6
2014-03-27 23:25:53 +00:00
Tony Mantler a1916415fa Move nav buttons to left and right on account setup flow
For extra-wide displays

b/13640931

Change-Id: Ibc99dc287b9bb3f125abe3f931a34589927443e7
2014-03-27 16:20:49 -07:00
Tony Mantler 0ecf80685c Merge "Add giant yellow email logo to account setup screen" into ub-mail-algol 2014-03-27 22:38:47 +00:00
Baligh Uddin ba76a96a6c Merge "Import translations. DO NOT MERGE" into ub-mail-algol 2014-03-27 21:51:21 +00:00
Tony Mantler c5e07960b6 Add giant yellow email logo to account setup screen
b/13677552

Change-Id: Icfd2e878fd62118486c347ae4737c5409a2e5c9b
2014-03-27 14:34:13 -07:00
Martin Hibdon 699ee651b9 Merge "Upgrade my logging from .e to .wtf" into ub-mail-algol 2014-03-27 21:31:43 +00:00
Martin Hibdon dc0ac5a316 Upgrade my logging from .e to .wtf
b/13640564

Change-Id: I360aa6bab99cc1c414b4f89fcfe3c82eb6e282c3
(cherry picked from commit 8eaa3f029e)
2014-03-27 21:30:46 +00:00
Martin Hibdon c7031638bd Minor formatting change
b/13642247

Change-Id: I02e495142d8043c8749ab0bce21f4c7c1cea7a5f
(cherry picked from commit 64b4f7dcff)
2014-03-27 21:30:37 +00:00
Martin Hibdon 4d6225d699 Merge "Add logging to help track down a bug causing invalid credentials" into ub-mail-algol 2014-03-27 21:30:15 +00:00
Martin Hibdon 23ff99df9d Merge "Fix IMAP message upsync to include attachments." into ub-mail-algol 2014-03-27 21:30:08 +00:00
Martin Hibdon 83f2997868 Merge "Increase touch target for adding authentication" into ub-mail-algol 2014-03-27 21:29:58 +00:00
Tony Mantler 2fbddae881 Merge "Remove hairline in account setup flow" into ub-mail-algol 2014-03-27 21:29:53 +00:00
Martin Hibdon 7c8eee40c1 Add logging to help track down a bug causing invalid credentials
b/13640564

Change-Id: I1161764e1278375eb786689a11e6899e8363fc8b
(cherry picked from commit 5419284715)
2014-03-27 21:25:16 +00:00
Tony Mantler 38f9991634 Fix IMAP message upsync to include attachments.
b/13138456

Change-Id: If16b619a650c640a37cb4563750a6327a5e601e6
(cherry picked from commit 0c8696c2eb)
2014-03-27 21:23:32 +00:00
Martin Hibdon c0707dd3b4 Increase touch target for adding authentication
b/13642313

Change-Id: I9681cd6ad21e4da76cac3202dc61bdc49b978c71
(cherry picked from commit 7bf3bb9947)
2014-03-27 21:23:19 +00:00
Martin Hibdon e5d754e16c Fix a NPE trying to download an attachment
b/13642247

Change-Id: I4cfb7e4a3be12fdc8b8c345c1aeabd85a729d16a
(cherry picked from commit adabb4285b)
2014-03-27 21:22:28 +00:00
Tony Mantler e27e24e9f2 Remove hairline in account setup flow
b/13675117

Change-Id: I499929c4b4dd05c26aa24e5bd4c29fd89c6da963
2014-03-27 13:21:55 -07:00
Anthony Lee 41e3f37b50 Merge "b/13659097. Disable EAS Policy max attachment size from EmailProvider." into ub-mail-algol 2014-03-27 18:41:20 +00:00
Anthony Lee a68ab80305 b/13659097. Disable EAS Policy max attachment size from EmailProvider.
Disable the code that translates the max attachment size column of
our db to the EmailProvider max attachment size column. They mean
different things as our max attachment size column refers to the max
size of any file that we can download where the EmailProvider's version
represents the max attachment size of a file that we can upload.

Change-Id: I93202766d7b1782c902f17ce20b2823aaf647ec4
2014-03-27 11:37:41 -07:00
Tony Mantler b45098fb37 Merge "Make account setup flow headline grey and skinny" into ub-mail-algol 2014-03-27 18:35:13 +00:00
Tony Mantler 3b62bc7029 Make account setup flow headline grey and skinny
b/13639943

Change-Id: I1c1fd6c3438baadbc006a1f2c340ab0abbd7b5c1
2014-03-26 16:21:14 -07:00
Baligh Uddin aaa1f8cd1d Import translations. DO NOT MERGE
Change-Id: Ifabf8fcf26cf387a2c66a09d1525f636d7fde0f1
Auto-generated-cl: translation import
2014-03-26 15:20:06 -07:00
Tony Mantler b2dbba8d9f Christen ub-mail-algol with a new version number
Change-Id: Ifdc73fe4354e9e74e9cba9c993051c742efb530f
2014-03-26 15:13:04 -07:00
Yu Ping Hu 74c489f744 Restore xxxhdpi icons.
Bug: 11174042
Change-Id: I4c7e6336ef0a354bf4dc2ecefd129110fb2f974f
(cherry picked from commit faaec9f4e1c50d08c1050db3a2969452d536a13f)
2014-03-25 18:50:38 +00:00
Martin Hibdon bebb80b0f4 Merge "Fix Calendar and Contacts syncing for POP and IMAP accounts" into ub-mail-master 2014-03-25 17:54:45 +00:00
Martin Hibdon 3f4a556d54 Fix Calendar and Contacts syncing for POP and IMAP accounts
b/11818312

Change-Id: I34b82040991506bf9099cc0df237454a8f97c764
2014-03-24 17:17:05 -07:00
Martin Hibdon ae242766c2 Update Email major version number to 6.3 so that it matches EmailGoogle
Change-Id: If49106af7769933515d4baa432a024dd3631aa4a
2014-03-24 15:33:11 -07:00
Martin Hibdon 175efbdd37 Update version
Change-Id: I0b23c282e7816029ccc95ea0d4fa58ba4fa1cb8b
2014-03-24 12:52:41 -07:00
Scott Kennedy 50c5add15b Merge "Switch to use chips in the new location" into ub-mail-master 2014-03-21 22:13:27 +00:00
Tony Mantler 0050cf4fff Merge "Begin fixing layouts for account setup flows" into ub-mail-master 2014-03-21 21:49:39 +00:00
Scott Kennedy e9c8ffac1f Switch to use chips in the new location
Change-Id: I0210a6a877e1bce89287382ca749e3eb1d8dc7e6
2014-03-21 14:24:51 -07:00
Tony Mantler 20adb68b94 Begin fixing layouts for account setup flows
Also address some RTL issues

b/10784160
b/13544189
b/13585832

Change-Id: I5c86497940ce4b972e0ee9189418f120391a8833
2014-03-21 13:29:23 -07:00
Martin Hibdon 3021a60bc7 Merge "Only make Calendar and Contacts syncable on Exchange" into ub-mail-master 2014-03-20 19:57:05 +00:00
Martin Hibdon 6a51abdf6e Only make Calendar and Contacts syncable on Exchange
b/11818312
We were using the existance of OPTIONS_CALENDAR_SYNC in the
bundle to indicate that syncing was possible, and it's value
to indicate whether automatic syncing should be enabled.
This is misleading.
Now, we check the serviceInfo for the account type to figure
out if sync calendar and contacts is possible, and use the
options passed in to indicate whether or not it should be
automatic.

Change-Id: I776519668c6630dc71153fb008218a7ca6357c74
2014-03-20 12:47:36 -07:00
Baligh Uddin 71f503d98e Merge "Import translations. DO NOT MERGE" into ub-mail-master 2014-03-20 18:44:33 +00:00
Anthony Lee eba80c114e b/9564335. Add support for a maxAttachmentSize column in the Account
table and connect the data to the Settings object in the existing
location (SettingsColumns.MAX_ATTACHMENT_SIZE).

Change-Id: Iaf48995757511e1dfb65aa35ff6d81bbc47187bd

Conflicts:
	src/com/android/email/provider/DBHelper.java
2014-03-19 17:33:29 -07:00
Yu Ping Hu 8103f960d0 Add sync to IEmailService.
This supports the EasService design.

Yes, I just removed a startSync function from this interface last month. No,
I didn't quite know at the time that I'd be adding one back. :)

Change-Id: I19d9c7838473d8982560764fdba0056cba03d132
(cherry picked from commit 4a5b11d650)
2014-03-20 00:11:36 +00:00
Anthony Lee 70cb2878d7 Changed the IEmailService interface to accept and accountId in
the loadAttachment() call. This work was necessary to support
the new EasService & EasOperation infrastructure.

Change-Id: Idd507aec999596ccd4afa5f03ff2b3c2e38a9029
(cherry picked from commit efac8255ed75d22e60036e19e7a95f8407d18ad3)
2014-03-19 23:53:28 +00:00