Commit Graph

8291 Commits

Author SHA1 Message Date
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
Yu Ping Hu
6d1cfd2630 Merge "Add some null checks." into jb-ub-mail-ur10 2013-06-12 18:34:20 +00:00
Scott Kennedy
1079b6e962 Move to Inbox
Add a new Account setting field: Uri moveToInbox
This contains the Uri to use for the "move to inbox" action, which
may differ from defaultInbox.

There is no Move to Inbox in Email right now.

Bug: 9256654
Change-Id: I7c81c8115eda83123a09a9b7da7adf97a3c79964
2013-06-11 19:56:44 -07:00
Yu Ping Hu
6fadd5a0bd Add some null checks.
Bug: 9393662
Change-Id: I8c47b701062fb91e0e622644a26b470e78f62014
2013-06-11 16:56:06 -07:00
Andrew Sapperstein
ae8e0b7ac3 Export Eml viewer.
There's really no reason why it shouldn't be
and having it exported prevents b/9334785 from occurring.

Change-Id: Icaf9e90bc1f2e7bb35dba27ccb380ffa9ae7acbb
2013-06-11 15:01:05 -07:00
Baligh Uddin
6853ff91c8 Import translations. DO NOT MERGE
Change-Id: Iaa121b50d24ad5ea97e0b95925699eb75da42d36
Auto-generated-cl: translation import
2013-06-10 11:04:38 -07:00
Paul Westbrook
38f22dbf08 Use "show pictures" code from UnifiedEmail
Bug: 9320770
Change-Id: I701a93e2f09b8405a2c4bc56f7793f5abadbcd1e
2013-06-07 18:09:57 -07:00
Paul Westbrook
0ec8c365e7 Merge "Fix logging crash" into jb-ub-mail-ur10 2013-06-07 00:24:14 +00:00
Paul Westbrook
5a3fe57f4e Fix logging crash
If the string contains a character that is intrepreted by the
string formatter, this would throw an exception

Change-Id: I60cccb539bf197fa555d8d1f0fa1bdca3e07114e
2013-06-06 17:20:52 -07:00
Andrew Sapperstein
3df361a577 Merge "Add additional eml mime type." into jb-ub-mail-ur10 2013-06-06 23:07:02 +00:00
Andrew Sapperstein
c035a693e7 Add additional eml mime type.
Still wanna support application/eml even though
I doubt we'll ever see it.

Change-Id: I5dd74e5882b40d136f3849bb2500de0e5cbba24c
2013-06-06 15:51:50 -07:00
Paul Westbrook
555bd3c0b7 Don't show search folder
In folder lists, don't show the search folder

Bug: 9227357
Change-Id: Ic0b8a39929f6d2528f445d3746c4eb1915275593
2013-06-06 11:06:38 -07:00
Scott Kennedy
4c47dadf18 Merge "Unify LogTag" into jb-ub-mail-ur10 2013-06-06 18:03:53 +00:00
Paul Westbrook
c1d56928b2 Add a limit to the Conversation query
Bug: 9294348
Change-Id: Ifedfe657f205adb1c8a12382b908f4b3b4346500
2013-06-06 10:08:22 -07:00
Scott Kennedy
560bfadc31 Unify LogTag
There is now only one LogTag class. The static initializer of
GmailApplication (existing) and EmailApplication (new) will now set
the log tag to "Gmail" and "Email", respectively. Up until that code
is run, it will be "UnifiedEmail".

"setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to
be printed as long as they go through LogUtils, regardless of what tag
is used by that individual log. This lets us still turn on logging
everywhere in one command, but also lets us use more descriptive tags
(like the class name).

And since we no longer have three com.android.mail.utils.LogTag
classes, builds will be much easier.

Also, we now use LogUtils everywhere.

Change-Id: I55f1c7a66ce50ead54877a13e40256422a56dc39
2013-06-05 20:06:15 -07:00
Andrew Sapperstein
f20ed13765 Merge "Refactoring to support eml viewer in UnifiedEmail." into jb-ub-mail-ur10 2013-06-04 22:38:59 +00:00
Andrew Sapperstein
6be411edd0 Refactoring to support eml viewer in UnifiedEmail.
Moved two files out of Email into UnifiedEmail and
removed their dependencies on EmailContent. As a result,
those classes now return the data directly via a data only
class.

Change-Id: Iaf0618dd6879c9dc2a41943d3d15428904b65768
2013-06-04 15:37:40 -07:00
Yu Ping Hu
f849c1c50d Increment Email version.
Change-Id: Id0f4ce9b987f188bcb7a3604efe6df9162a2e4e5
2013-06-04 12:50:35 -07:00
Baligh Uddin
bc15735eb8 Import translations. DO NOT MERGE
Change-Id: I3b1c94dd1e18f19a2de941018d92b96e8403d7c7
Auto-generated-cl: translation import
2013-06-03 12:41:12 -07:00
Andrew Sapperstein
91973256c2 Moved code out of emailcommon to UnifedEmail.
This CL is mostly just deletion since the new code
is in a new project.

Change-Id: I4aee519187a6ed7514c97d2a7a85ed29ea29d25f
2013-05-31 16:28:51 -07:00
Andrew Sapperstein
f5ed3d2c9d Merge "Add EmlViewerActivity to AndroidManifest.xml." into jb-ub-mail-ur10 2013-05-31 18:14:18 +00:00
Andrew Sapperstein
7500c15652 Add EmlViewerActivity to AndroidManifest.xml.
Change-Id: I6728999bf3f27b4c0b9c0664775a7b87c97690c1
2013-05-31 10:38:53 -07:00