Commit Graph

14185 Commits

Author SHA1 Message Date
Jorge Ruesga
f119f904ed email: don't block extras database
This will call other setences (like delete accoutns) to block access. Just integrate
in the normal database transactions

Change-Id: I48d7028f2ceddcdfbc170acd1a1fe32f0322b6e6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:21 -07:00
Jorge Ruesga
8210da8b50 email: suggested contacts
This change adds support for suggested contacts (email addresses not in the contact
provider and received via email). The implementation creates a new separate
"extras" database (to avoid conflicts with future aosp changes). In the table
SuggestedContacts are stored every email address present in every email inserted
in the database.
This allow to display this contacts in the RecipientEditTextView when compose an email.
Suggested contacts are selected by account (only those ones received by that account).

This features is opt-out by default, but it can be activated in general settings by
choosing the suggested contact mode:

* none: Not active
* recents: Those received within the last 7 days
* all: All the suggested contacts

Change-Id: I156c3b1e2c4e4cff985a2183bc72b805bd596f3b
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:21 -07:00
hmh
fb2b538c54 Fix crash issue when trying to setup an IMAP/POP3 account
Fix crash issue when trying to setup an IMAP/POP3
account. Issue 78699.

Change-Id: I6a09cf27d83edc17495bb1ab20a10e6994cf5506
Signed-off-by: HUANG Menghuai <menghuai.huange@orange.com>
2015-10-18 14:02:24 -07:00
Michael Bestas
6ad7266164 Automatic translation import
Change-Id: Ieec8df6ac820d63ac696047dc1a610ab697fbea7
2015-10-18 14:02:24 -07:00
Daniel Volk
c2c258f261 Don't fetch deleted messages from IMAP folder
Fetching messages from an IMAP folder within a specific date range returns
messages marked as deleted, also. Unlike every other getMessages() method,
which filter out deleted messages.
This leaves server deleted messages untouched in the mail conversation
view, even when the folder is synced manually.

This patch adds "NOT DELETED" to the IMAP search command, when searching
for mails in a given date range.

Change-Id: I49e4adfcab9a1de1d1baa4700462a82df651f3cb
2015-10-18 14:02:23 -07:00
Jorge Ruesga
a7d1b42409 email: start handshake before hostname verification
Start handshake prior to hostname verification to ensure exceptions do not get silenced

Change-Id: Ide60753663d82d63b0f410b985447b7b26efd8f1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:02:22 -07:00
Jorge Ruesga
761a860cee email: add support for Server Name Indication (SNI)
Change the underlying socket factory reference to SSLCertificateSocketFactory which
has support for SNI since 4.2, and remove the access to the obsolete methods from
the old factory reference.
This change will setup the socket with a proper hostname prior to the ssl handshake.

Change-Id: Ic3315f3924f33470ea2da14e8ac3b946d039b1d5
JIRA: CYAN-3775
Issue: https://jira.cyanogenmod.org/browse/CYAN-3775
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:02:22 -07:00
blunden
68cce7faee Email: Update the widget preview image
Change-Id: I97fbbdbbc0223957eb2733a658454e94f46f9d42
2015-10-18 14:02:21 -07:00
Ricardo Cerqueira
7fbf9f957c DBHelper: Support upgrades from CM11
Add the new columns when coming from v126, add the old ones when
coming from any other value (or creating) so that they're there
when the feature gets reintroduced

Change-Id: I48ec042b30afbcefd43bdad0042147b6b0d2249f
2015-10-18 14:02:20 -07:00
Ashwini Munigala
11f2252994 Add MAIL_SERVICE WAKEUP, SEND, MOVE, READ, DELETE MESSAGE action
Add change in Email App to process following intents
from Bluetooth App, for MAP MSE support.

- org.codeaurora.email.intent.action.MAIL_SERVICE_WAKEUP
- org.codeaurora.email.intent.action.MAIL_SERVICE_DELETE_MESSAGE
- org.codeaurora.email.intent.action.MAIL_SERVICE_MOVE_MESSAGE
- org.codeaurora.email.intent.action.MAIL_SERVICE_MESSAGE_READ
- org.codeaurora.email.intent.action.MAIL_SERVICE_SEND_PENDING

Change-Id: I2b46265ba20c6f333c9e6d1b19ee73f5a066f1ff
2015-10-06 03:30:32 -06:00
Geoff Mendal
dcb985eafe Import translations. DO NOT MERGE
Change-Id: I6e64b3ae53a67cfe71245617c64d3cc2116c360f
Auto-generated-cl: translation import
2015-07-15 09:39:49 -07:00
Alex Klyubin
f3973456f4 Merge "Email app might use cleartext network traffic." into mnc-dev 2015-06-09 16:52:20 +00:00
Geoff Mendal
a66673b72b Import translations. DO NOT MERGE
Change-Id: I8fb8478e49fd7a4668c85a7df4e21f9e6b242dee
Auto-generated-cl: translation import
2015-05-30 14:47:08 -07:00
Alex Klyubin
53db1e4718 Email app might use cleartext network traffic.
This declares that the Email app might be using cleartext network
traffic (e.g., HTTP instead of HTTPS). This CL does not change the
behavior of the app. The flag added by this CL to the app's manifest
will make it easier to identify apps that use cleartext traffic in
the future.

Bug: 19215516
Change-Id: Ia55589151a77eb175149aaaf4f7cb4975ecb9c69
2015-05-20 09:24:09 -07:00
Ying Wang
083af06aba Use $(SUPPORT_LIBRARY_ROOT) to reference support library resource dir.
The build system sets up $(SUPPORT_LIBRARY_ROOT) based on if it's
platform build or apps-only build.

Change-Id: I81e832138918c729e999690b4c3a215a3c989cfa
2015-05-19 16:10:17 -07:00
Geoff Mendal
a077ee42ad Import translations. DO NOT MERGE
Change-Id: I8d7aae1a1184d97a2f982099fe5ad8d2a6c4d623
Auto-generated-cl: translation import
2015-05-13 20:37:30 -07:00
Geoff Mendal
ab52e8bc5f Import translations. DO NOT MERGE
Change-Id: I0c8f527b313a99b3bfe0d79d0bc0b6a2e9f8d697
Auto-generated-cl: translation import
2015-04-22 05:28:06 -07:00
Geoff Mendal
a7138285f6 Import translations. DO NOT MERGE
Change-Id: Ia33bc5085118d42bdf2db82a6ed596eb0faaf729
Auto-generated-cl: translation import
2015-03-27 15:33:42 -07:00
Geoff Mendal
b49642dba4 Import translations. DO NOT MERGE
Change-Id: I581da09d2cb75aa94cef96397581ad6d43e9e007
Auto-generated-cl: translation import
2015-03-25 06:43:13 -07:00
Geoff Mendal
62fc8b4cb9 Import translations. DO NOT MERGE
Change-Id: Idff469dd7e5c4056acd66cd2a474571c6b89d437
Auto-generated-cl: translation import
2015-03-23 05:33:44 -07:00
Geoff Mendal
8b66082507 Import translations. DO NOT MERGE
Change-Id: I803b251084cc3dcaea8f55b407130c1cd3afe35c
Auto-generated-cl: translation import
2015-03-21 02:25:10 -07:00
Geoff Mendal
c71d37be31 Import translations. DO NOT MERGE
Change-Id: I63c7f3e9b282aefbafcf318ee3fa3fc0a11f35e8
Auto-generated-cl: translation import
2015-03-18 06:19:18 -07:00
Geoff Mendal
7deef7545b Import translations. DO NOT MERGE
Change-Id: I54b54869d9723d74a99c5d71c3e5bdebc450d12f
Auto-generated-cl: translation import
2015-03-16 06:22:57 -07:00
Geoff Mendal
8346a3b3b7 Import translations. DO NOT MERGE
Change-Id: I16087201b8d54a088050fc36962633e73ddfd8dd
Auto-generated-cl: translation import
2015-03-09 05:44:01 -07:00
Geoff Mendal
7f54d3df52 am 404e707c: (-s ours) am 7f4a1da1: (-s ours) Import translations. DO NOT MERGE
* commit '404e707cda0dd9bece38a3315e0d13e2e09bd152':
  Import translations. DO NOT MERGE
2015-02-26 23:01:24 +00:00
Geoff Mendal
404e707cda am 7f4a1da1: (-s ours) Import translations. DO NOT MERGE
* commit '7f4a1da18ef7ffc745e2f8f174fd238397613d7c':
  Import translations. DO NOT MERGE
2015-02-26 22:56:05 +00:00
Geoff Mendal
7f4a1da18e Import translations. DO NOT MERGE
Change-Id: I0ac18cbbc10d46f0264dc6daa7ac8822f540b6bc
Auto-generated-cl: translation import
2015-02-26 12:07:51 -08:00
Geoff Mendal
ef8af92bf2 Import translations. DO NOT MERGE
Change-Id: Ibaa809885945fb1721f82668bb1a15597461d8da
Auto-generated-cl: translation import
2015-02-25 06:40:26 -08:00
Geoff Mendal
5db9f0b51c Import translations. DO NOT MERGE
Change-Id: I530da8fe2577e8fda58705f3331aa10d68e3a9dc
Auto-generated-cl: translation import
2015-02-23 07:07:57 -08:00
Geoff Mendal
012fc88664 am 7262945e: (-s ours) am 0816a36d: (-s ours) Import translations. DO NOT MERGE
* commit '7262945e4f9775f74621d0a042a080a5607553fa':
  Import translations. DO NOT MERGE
2015-02-12 21:30:57 +00:00
Geoff Mendal
7262945e4f am 0816a36d: (-s ours) Import translations. DO NOT MERGE
* commit '0816a36dc033a83663958df6e7fa2909e1ea33ac':
  Import translations. DO NOT MERGE
2015-02-12 20:25:13 +00:00
Geoff Mendal
0816a36dc0 Import translations. DO NOT MERGE
Change-Id: I2b851ea0f18a924293a4ee962f7fae3f1a785909
Auto-generated-cl: translation import
2015-02-12 11:41:21 -08:00
Narayan Kamath
f8f1eacd21 Add an explicit dependency on org.apache.http.legacy.
bug: 18027885
Change-Id: I82f8348f69a9f0d1203ad0188ce8fca6d7c379bc
2015-02-06 13:40:01 +00:00
Baligh Uddin
b13a9a1978 Import translations. DO NOT MERGE
Change-Id: I7a9c54d4107cdaf9cc92b0a3518c6331926172f9
Auto-generated-cl: translation import
2014-12-29 07:59:55 -08:00
Yohann Roussel
053b85d0e4 Merge "-keepclasses is not a proguard option" 2014-12-23 09:40:10 +00:00
Yohann Roussel
c407643689 -keepclasses is not a proguard option
It looks like proguard is accepting it and make completion to a valid
option even if there's ambiguity beetwen -keepclasseswithmembers and
-keepclasseswithmembernames. Jack is not permitting that kind of
incomplete options, so fixing.

Change-Id: I034e1cb6ecdcd96beec11ac6b30a0baeb1aebba3
2014-12-22 17:11:04 +01:00
Baligh Uddin
a768f850dd Import translations. DO NOT MERGE
Change-Id: I2ba07432bfd76eec5a1c5d2c1bb899a0924e5170
Auto-generated-cl: translation import
2014-12-22 07:12:16 -08:00
Geoff Mendal
d46b7331bd Import translations. DO NOT MERGE
Change-Id: I3dba7ef7494fdeb170b47e47b3dbe698d32c6d91
Auto-generated-cl: translation import
2014-12-10 06:32:19 -08:00
Geoff Mendal
ee6e8a6fb1 Import translations. DO NOT MERGE
Change-Id: Ida4a26ba1f8b9276d171c81cb7b964675403943f
Auto-generated-cl: translation import
2014-12-08 09:42:45 -08:00
Geoff Mendal
6be8f548ab Import translations. DO NOT MERGE
Change-Id: I2c2a794c08260bcf778fae556e040f6f23800d87
Auto-generated-cl: translation import
2014-12-01 07:31:27 -08:00
Geoff Mendal
17e2c05f7a Import translations. DO NOT MERGE
Change-Id: I73b3f97c49183406d83b1c8262613bfe15b8baa2
Auto-generated-cl: translation import
2014-11-24 07:37:25 -08:00
Geoff Mendal
60dcc7cdfe Import translations. DO NOT MERGE
Change-Id: I900191f98f910ae49d89eadf748f3986ce7e2362
Auto-generated-cl: translation import
2014-11-19 05:59:30 -08:00
Geoff Mendal
7e7e4e20d0 Import translations. DO NOT MERGE
Change-Id: I5f570dc10d4d12cb73abb9e9e04daf3e9addafd6
Auto-generated-cl: translation import
2014-11-10 06:06:16 -08:00
Baligh Uddin
5eead94a2a Import translations. DO NOT MERGE
Change-Id: I33b5f50821665dd4574408378271cc9c20bf47f0
Auto-generated-cl: translation import
2014-11-07 02:21:23 -08:00
Geoff Mendal
c9407fc5a9 am b8e32c96: (-s ours) am 813e1bfe: (-s ours) am 13ff526b: (-s ours) Import translations. DO NOT MERGE automerge: eccc844 -s ours
* commit 'b8e32c967ec4dd0b194715c9d029a37f391a837f':
  Import translations. DO NOT MERGE
2014-11-04 01:17:31 +00:00
Geoff Mendal
b8e32c967e am 813e1bfe: (-s ours) am 13ff526b: (-s ours) Import translations. DO NOT MERGE
automerge: eccc844  -s ours

* commit 'eccc8442bf41b6741ce80ca7ea8898a32252815f':
  Import translations. DO NOT MERGE
2014-11-03 23:54:36 +00:00
Geoff Mendal
6462184e28 am c4127f91: (-s ours) am 46fadb5f: (-s ours) Import translations. DO NOT MERGE
automerge: 8eada9d  -s ours

* commit '8eada9d964cf20993615a48ec50ff364050bb2e9':
  Import translations. DO NOT MERGE
2014-11-03 23:16:29 +00:00
Geoff Mendal
8e5ccfb48d am 393c1360: (-s ours) Import translations. DO NOT MERGE
automerge: 8a463d5  -s ours

* commit '8a463d55b81008ddc8fb1c3fd0c83ad5678f6c51':
  Import translations. DO NOT MERGE
2014-11-03 23:10:03 +00:00
Geoff Mendal
8eada9d964 am c4127f91: (-s ours) am 46fadb5f: (-s ours) Import translations. DO NOT MERGE
* commit 'c4127f91eb9c1f46e2c1b3d1f6184926817ed866':
  Import translations. DO NOT MERGE
2014-11-03 22:35:49 +00:00
Geoff Mendal
8a463d55b8 am 393c1360: (-s ours) Import translations. DO NOT MERGE
* commit '393c1360fd23de57645440a30920daea757c38c0':
  Import translations. DO NOT MERGE
2014-11-03 22:34:50 +00:00