Commit Graph

8212 Commits

Author SHA1 Message Date
Yu Ping Hu
d5acf0bbc0 Explicitly pass a callback when loading attachments.
This is part of moving away from the explicit setCallback,
which either has race conditions or is very noisy, or both.
(Each IEmailService call that wants callbacks should just
pass the callback explicitly.)

I'm not yet changing how the services actually handle the
call. Each protocol will need to fix this on their own.

Bug: 9735207
Bug: 9842867
Change-Id: If8cf69ffe82f3544ace9e58b1db5a183f38d038a
2013-07-15 21:54:02 +00:00
Paul Westbrook
765fa9e27e Remove STOPSHIP logging
Bug: 8132946
Change-Id: I1f14a75c4dd334c4ae04cb0d79409cd072f2be08
2013-07-15 12:03:25 -07:00
Yu Ping Hu
070569b46c Merge "Remove the folder structure daily sync for push accounts." into jb-ub-mail-ur10 2013-07-15 17:54:45 +00:00
Yu Ping Hu
05cf8a1c1f Remove the folder structure daily sync for push accounts.
Turns out that you don't need it -- Exchange has a way to
tell the client when folder changes occur.

Change-Id: If8089d9fe55e7ece407acf2f0dae977dced522b4
2013-07-15 09:29:05 -07:00
Paul Westbrook
b2c7bcff78 Set the correct account uri to message
Bug: 9595801
Change-Id: Ie3a92c2194caf77ef6f3286e9dcb43684a0b32f4
2013-07-12 18:15:46 -07:00
Paul Westbrook
8a289cb07c shorten log tag lengths
Bug: 9815409
Change-Id: Ied2ef86ec204d005c246444906d7a385e939043e
2013-07-12 10:27:56 -07:00
Paul Westbrook
e13d9f6ba5 Merge "Fix feedback from Email settings" into jb-ub-mail-ur10 2013-07-11 23:27:23 +00:00
Baligh Uddin
dc56de11ce Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-07-11 22:32:49 +00:00
Paul Westbrook
dbb8b75a4b Fix feedback from Email settings
Bug: 9428466
Change-Id: I6816976b858a6a15da7d643320983208287a463a
2013-07-11 13:13:11 -07:00
Baligh Uddin
06e6d7700e Import translations. DO NOT MERGE
Change-Id: Iebedc9dc5f04b2b8e9ea4e0240137d7fd06cf908
Auto-generated-cl: translation import
2013-07-10 21:29:33 -07:00
Yu Ping Hu
f9975572d5 Increment Email version.
Change-Id: Id4137009470dd3a2cbaa1546e85e7d43714418ab
2013-07-10 18:45:46 -07:00
Baligh Uddin
cf1403fc8f Import translations. DO NOT MERGE
Change-Id: I1e76ec51060bf46754a06c533150ee01bee12ea7
Auto-generated-cl: translation import
2013-07-08 10:13:34 -07:00
Yu Ping Hu
66adde5e19 Merge "Increment Email version." into jb-ub-mail-ur10 2013-07-04 00:27:04 +00:00
Yu Ping Hu
1198507b6a Increment Email version.
Change-Id: I79bf702f28095c32c3361ce56da2a00a8ec31c65
2013-07-03 16:30:54 -07:00
Vikram Aggarwal
50f645e019 Parent folder as a URI
Email populates the URI correctly

Bug: 9694857 Populate folder.parent correctly in the provider

Change-Id: Ia509e1dbb2805a752805ba443527c3013715db24
2013-07-03 15:56:58 -07:00
Baligh Uddin
4bd53d1262 Import translations. DO NOT MERGE
Change-Id: Ie46e71e8168102fd4c8a627b3975346a0b9b6acc
Auto-generated-cl: translation import
2013-07-01 10:12:35 -07:00
Yu Ping Hu
6e0f74de93 Add a constant for push-only sync requests.
This will be used in Exchange, but the constant belongs here.

Change-Id: I5be3bae75ccaa0562230252226375b25028dfb76
2013-06-27 16:55:56 -07:00
Yu Ping Hu
9c45527779 Allow account setting screen without outbound hostauth.
We have a way to handle lack of outbound host auth, and it's
a legitimate state for Exchange accounts (since it's unused
anyway).

Bug: 8631134
Change-Id: I99863f627c4f364e61f7a4b99dea3e2606a55275
2013-06-27 13:05:18 -07:00
Scott Kennedy
229c070b0b Change the concept of a default account
The user no longer has control over this. Now, the "default" account
(which is only used for prepopulating the name of new accounts is
either the last used account (to be defined), or the first account in
the database.

This removes a setting, and simplifies a lot of code.

We may also want to auto-select the default account when entering the
compose screen from the combined view, but we do not currently have
an easy way to do that.

Bug: 7442992
Change-Id: Iff5bb36d8cbd327334211b670fa4851cbda6b9a0
2013-06-27 10:22:22 -07:00
Baligh Uddin
cf5dc6ba4f Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-06-27 14:25:36 +00:00
Andrew Sapperstein
8dbb2e8761 Merge "Use resource strings for system folders." into jb-ub-mail-ur10 2013-06-27 01:20:55 +00:00
Andrew Sapperstein
cdee4b0c11 Use resource strings for system folders.
Fixes b/9193813. Previously we returned
a value from the database in all cases.
This meant that system folders were not
translated.

Change-Id: Ife568651886bfb6de76221b8bc5d013dac8fa21a
2013-06-26 18:20:10 -07:00
Yu Ping Hu
8686e10dad Increment Email version #.
Change-Id: I90b4b56ba56b62c6dd7cdfc23b57875140a34105
2013-06-26 17:41:28 -07:00
Baligh Uddin
33377a303d Import translations. DO NOT MERGE
Change-Id: I2aa8126afdf41213779031d57bbfd9d636ead8dd
Auto-generated-cl: translation import
2013-06-26 14:17:12 -07:00
Scott Kennedy
1b8e0fa23f Clean up a bunch of warnings
Bug: 9565838
Change-Id: I5e95562bbf463f057cbcc4a9884427a774473b45
2013-06-25 15:34:32 -07:00
Yu Ping Hu
038924037b Fix mailbox sync options.
- Change mailbox sync interval to be a boolean.
- Decouple Inbox settings from account settings.

Change-Id: Id02d43b281f323ca4db499ce97e8f4bb6d82c2bb
2013-06-24 19:38:35 -07:00
Andrew Sapperstein
478417a794 Support eml attachments in email.
Change-Id: I76274540d00a292d5a8f777d75d8e9f7b2ef3a51
2013-06-21 11:38:13 -07:00
Yu Ping Hu
a54ee609cd Convert Mailbox syncInterval column to boolean.
We are no longer doing per-mailbox sync intervals; instead,
mailboxes opt in to syncing, and the account sync interval
controls what happens.

Change-Id: I8ae32ea25079abbb63bb6a6a282bf5c06de73fca
2013-06-20 18:38:48 -07:00
Yu Ping Hu
6f2beeb59a Add "account only" periodic sync for push accounts.
EAS push only gets changes to the contents of collections,
but not for changes to accounts or folder structure. This
adds a new sync type to fetch only accounts, and adds a
periodic sync of this type for push accounts.

Change-Id: I1e9337252dbb5e53db3f7c5953e089de2c69d18c
2013-06-20 15:46:29 -07:00
Baligh Uddin
ef3fe5727f Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-06-20 16:34:48 +00:00
Mark Wei
650f50023a Merge "Fix IMAP attachments REDOWNLOADING." into jb-ub-mail-ur10 2013-06-20 00:42:13 +00:00
Mark Wei
8f474dc02f Fix IMAP attachments REDOWNLOADING.
Previously, if you clicked Download again, you will never be able to view that
attachment again.

Change-Id: Ie944becaf8c89a1a27b8625af4795550e9213f5e
2013-06-19 17:35:37 -07:00
Yu Ping Hu
e7ebb5de04 Remove references to deprecated sync states.
Change-Id: Ib22bac766fb0ac4d6e764ee92b56a8026baee852
2013-06-19 17:10:43 -07:00
Baligh Uddin
37cdd74fff Import translations. DO NOT MERGE
Change-Id: I7ceb16b8228551105bd063586ebcf135ba9344a4
Auto-generated-cl: translation import
2013-06-19 13:53:29 -07:00
Yu Ping Hu
e5088ba0d4 Increment email version.
Change-Id: I2c974b090f308cd30553796eda7d5c05d2327d8f
2013-06-19 11:57:16 -07:00
Yu Ping Hu
5648390cae Increment Email version.
Change-Id: I742889a46dc782868a536ab3ecc891463e1ac251
2013-06-19 11:50:33 -07:00
Yu Ping Hu
e9c811d87d Opt out email from limited users.
Bug: 8630000
Change-Id: Ida0bf7c2336dccce7c01785e8cf8ac3f3ec29571
2013-06-18 18:32:38 -07:00
Yu Ping Hu
f44697e158 Merge "Return null instead of crashing when querying a bad folder." into jb-ub-mail-ur10 2013-06-19 01:24:35 +00:00
Yu Ping Hu
70500d2253 Return null instead of crashing when querying a bad folder.
Bug: 9250557
Change-Id: Ic0074fa1f6db53a7495c7de48a8f42158a0ea1d9
2013-06-18 18:13:45 -07:00
Paul Westbrook
e7d539ddf9 Update the signature summary
Bug: 9480853
Change-Id: I8996efa268c906485ee1d5cfcf0f883d40927009
2013-06-18 16:33:20 -07:00
Mark Wei
33f92a7f96 Change AOSP Email Makefile to reference current SDK.
Change-Id: Iab007efda5282b64eebbccdc2dd2b8e33177276c
2013-06-18 14:14:22 -07:00
Yu Ping Hu
aa0ca16a27 Remove references to account mailbox.
Exchange implementation no longer uses them.

Change-Id: I221a914f2428c0c7989f79392ca82f7a8f4b1c52
2013-06-17 19:51:47 -07:00
Yu Ping Hu
e1f0169419 Merge "Remove auto sync windows." into jb-ub-mail-ur10 2013-06-17 16:56:31 +00:00
Baligh Uddin
596f4d43c0 Import translations. DO NOT MERGE
Change-Id: Iaeb2f5446c872b9d72af83886af5ebb3d4648400
Auto-generated-cl: translation import
2013-06-14 22:36:50 -07:00
Yu Ping Hu
21b2522d7f Remove auto sync windows.
Also includes other DB upgrade code.

Bug: 8668336
Bug: 9226612

Change-Id: Id9664fd8cda466ec34862a793e41cbcce78efb4c
2013-06-14 18:26:42 -07:00
Paul Westbrook
e16ad492a6 Merge "Move support for settings menu to UnifiedEmail" into jb-ub-mail-ur10 2013-06-14 06:32:53 +00:00
Baligh Uddin
6e7b1a1df8 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-06-13 16:16:31 +00:00
Paul Westbrook
525e8ad321 Move support for settings menu to UnifiedEmail
Move the base settings menu to UnifiedEmail

Bug: 9393150
Change-Id: Ifa69125d84802a0d7dd2275e4704ec7a4d1fb2f1
2013-06-12 23:52:43 -07:00
Baligh Uddin
29c0418674 Import translations. DO NOT MERGE
Change-Id: I2cdf5897618f805dc6411b92ccc5940c753ef27f
Auto-generated-cl: translation import
2013-06-12 13:57:29 -07:00
Scott Kennedy
380985add9 Merge "Move to Inbox" into jb-ub-mail-ur10 2013-06-12 20:02:12 +00:00