Commit Graph

2949 Commits

Author SHA1 Message Date
Eric Fischer
dfe62ed452 am 7fc19e98: Import revised translations. DO NOT MERGE
* commit '7fc19e98c6cb7c237b71a6435c311318ca1a5e93':
  Import revised translations.  DO NOT MERGE
2011-02-08 17:32:38 -08:00
Eric Fischer
7fc19e98c6 Import revised translations. DO NOT MERGE
Change-Id: Ic8a992a03e32a62f023995a29ee671dede5aab18
2011-02-07 13:19:59 -08:00
Jean-Baptiste Queru
05f45f89e3 am 4895e726: Merge from gingerbread
* commit '4895e726ee66978dc24c618917e86b2930fe9bdf':
2011-02-02 09:53:24 -08:00
Jean-Baptiste Queru
4895e726ee Merge from gingerbread
Change-Id: I874374c7c0a05f4159e1a77142d95eb62f7eac61
2011-02-02 08:02:02 -08:00
Jean-Baptiste Queru
8031297202 am feb9a2c6: Merge from open-source gingerbread - do not merge
* commit 'feb9a2c6be046cdb328223c5d76e027c07eb1326':
  Fix a decoding problem on the Email body
2011-02-02 07:58:15 -08:00
Jean-Baptiste Queru
feb9a2c6be Merge from open-source gingerbread - do not merge
Change-Id: Ic48053624dcb200a64776de01ba258800ed3a75c
2011-02-02 07:53:48 -08:00
Jean-Baptiste Queru
b4f225021d Merge "Fix a decoding problem on the Email body" into gingerbread 2011-02-02 07:53:09 -08:00
Sang-Jun Park
499fc762ee Fix a decoding problem on the Email body
When decoding the Email body, email application used google default base64
function.  But it caused problem, so particular email did not sync any more.
So we have changed decoding function as a decoder from apache in order
not to occur problem

Change-Id: I7581123f21fbb4015153ca6f4a0c14c0f6a769fc
Signed-off-by: Sang-Jun Park <sj2202.park@samsung.com>
2011-02-02 08:16:13 +09:00
Andy Stadler
275b89d969 am 927dbc7c: Don\'t send IMAP ID unless server supports it
* commit '927dbc7c20072939fd0ebdf4cc89301a41d075c2':
  Don't send IMAP ID unless server supports it
2011-01-31 15:16:30 -08:00
Andy Stadler
927dbc7c20 Don't send IMAP ID unless server supports it
Only send IMAP ID to servers that include ID in the CAPABILITY response.
Always sending IMAP ID was found to cause problems with some servers.

Better compliance with RFC 2971.
Thanks to Samsung for debugging & reporting this.

Change-Id: I495f80949f9f811470853a1f2f8e506d8236d8cf
2011-01-31 15:10:49 -08:00
Andy Stadler
5211161a88 am ecffd551: DO NOT MERGE Remove all password trim() calls
* commit 'ecffd551cc2a9dc6813effbfc9d21f2b3825a5b5':
  DO NOT MERGE Remove all password trim() calls
2011-01-20 17:41:37 -08:00
Andy Stadler
ecffd551cc DO NOT MERGE Remove all password trim() calls
* Initial account setup screen, password entry field
* When passing the entered password from incoming->outgoing
* When restoring store URI's from HostAuth

This will satisfy the users who insist on leading/trailing spaces
in their IMAP or EAS password.  Not supported by POP3 (no quoting).

Bug: 2981433
Change-Id: I16c00bf96382899abb54cb75fcd44cf0f140a660
2011-01-20 11:30:20 -08:00
Eric Fischer
5e64a9a79c am 808d0f38: Import translations for additional languages.
* commit '808d0f38a6ddec267b86158fe9b7847436f81bc7':
  Import translations for additional languages.
2011-01-06 20:30:31 -08:00
Eric Fischer
808d0f38a6 Import translations for additional languages.
Change-Id: Id4742833e91660fb2c79f2bede7f69d28fa88133
2011-01-06 10:34:30 -08:00
Andy Stadler
91853f3360 am 8c45186b: Merge "DO NOT MERGE Fix cursor leaks when canceling AsyncTask" into gingerbread
* commit '8c45186b4783cb32794d764c0f34eba90e8793ff':
  DO NOT MERGE Fix cursor leaks when canceling AsyncTask
2011-01-05 08:05:54 -08:00
Andy Stadler
42749c9105 am 1a791e67: Fix NPE when switching IMAP into TLS
* commit '1a791e675ba5092569125bf09a9fcc721bd4c5e1':
  Fix NPE when switching IMAP into TLS
2011-01-05 08:04:08 -08:00
Andy Stadler
8c45186b47 Merge "DO NOT MERGE Fix cursor leaks when canceling AsyncTask" into gingerbread 2011-01-05 08:01:37 -08:00
Andy Stadler
1a791e675b Fix NPE when switching IMAP into TLS
* Update MockTransport to allow TLS connections
* Test TLS connection in ImapStore unit tests
* The bugfix: Re-query capabilities after closing/reopening parser for TLS

(Note: Actually, this is required by the IMAP RFC 3501, 6.2.1)

Bug: 3315939
Change-Id: I51f838043e87750b5712a1bd2e4f9c821b58c808
2011-01-04 20:21:15 -08:00
Andy Stadler
62ee3f4cac am ec988c2f: DO NOT MERGE Added/updated Yahoo provider settings
* commit 'ec988c2fba0ea58e1130f24ab26aef986cb1cc4a':
  DO NOT MERGE Added/updated Yahoo provider settings
2011-01-04 18:35:44 -08:00
Andy Stadler
d2911c3e86 DO NOT MERGE Fix cursor leaks when canceling AsyncTask
We discovered that AsyncTask.cancel() doesn't quite perform as expected;
In particular, if you call cancel() during a particularly slow background
worker, the result is discarded and onPostExecute() is never called.  If
the result is an open cursor, then we "leak" by not closing it.

For AccountFolderList, which has a multi-step doInBackground():
1.  Check for isCancelled() during the long doInBackground() which will
    reduce the number of discarded cursors in the first place.
2.  Check for isCancelled() at the end of the long doInBackground() and
    if true, close the result cursors and return null.
3.  In the existing isCancelled() code in onPostExecute(), close the
    cursors.

For other Activities (with simpler configurations):
1.  Check for isCancelled() at the end of doInBackground() and if true,
    close the just-opened cursor and return null.

Bug: 3088870
Change-Id: Ie63a3197af563baa8bb0fe6f1ef9423e281cbf4c
2011-01-04 18:17:32 -08:00
Andy Stadler
ec988c2fba DO NOT MERGE Added/updated Yahoo provider settings
Specifically, added configuration settings for international Yahoo
domains (e.g. yahoo.ca, yahoo.de, yahoo.fr, etc), including partially
or wholly owned Yahoo subsidiaries; as well as partner domains from AT&T,
British Telecom, and Rogers whose email services are managed by Yahoo.

For domains supporting IMAP, changed to IMAP+SSL for mail handling to
support a better user experience on mobile devices.

Bug: 3258944
Original Author: Kristopher Giesing
Original CL: If5bdc70f70820f3f8aada6d2ee9b0cdb115432b5

Change-Id: Ib117f3755ff9250746f05debd1a6d1cda44c7855
2011-01-04 17:19:19 -08:00
Justin Ho
ba2948c63e am 13beedd1: Merge "Merging stat_notify in Email" into gingerbread
* commit '13beedd11c3fe743674e835fa1b17da5fd809d72':
  Merging stat_notify in Email
2010-12-04 23:45:26 -08:00
Justin Ho
13beedd11c Merge "Merging stat_notify in Email" into gingerbread 2010-12-03 18:26:39 -08:00
Justin Ho
2e0ebab3bb Merging stat_notify in Email
Change-Id: I1b7d2a37ceddd12fd1f15439511dfad160580d86
2010-12-03 18:25:00 -08:00
Eric Fischer
63983af4a2 am a56f0eed: Import revised translations. DO NOT MERGE
* commit 'a56f0eedc5cf606aa4e790c15cd6948421916be1':
  Import revised translations.  DO NOT MERGE
2010-11-30 11:48:04 -08:00
Eric Fischer
a56f0eedc5 Import revised translations. DO NOT MERGE
Change-Id: I453979a6a8a6ed9d5431fc790a03cbfd21056fa7
2010-11-29 16:16:50 -08:00
Andy Stadler
7af8cc5e26 am 8e126d64: Merge "Added/updated provider settings for Yahoo-related mail domains."
* commit '8e126d6407b0bae54c7b2a4a0bdf508c50e1b759':
  Added/updated provider settings for Yahoo-related mail domains.
2010-11-19 17:49:09 -08:00
Andy Stadler
8e126d6407 Merge "Added/updated provider settings for Yahoo-related mail domains." 2010-11-19 17:36:57 -08:00
Kristopher Giesing
25d4fa0269 Added/updated provider settings for Yahoo-related mail domains.
Specifically, added configuration settings for international Yahoo
domains (e.g. yahoo.ca, yahoo.de, yahoo.fr, etc), including partially
or wholly owned Yahoo subsidiaries; as well as partner domains from AT&T,
British Telecom, and Rogers whose email services are managed by Yahoo.

For domains supporting IMAP, changed to IMAP+SSL for mail handling to
support a better user experience on mobile devices.

Change-Id: If5bdc70f70820f3f8aada6d2ee9b0cdb115432b5
2010-11-19 13:37:54 -08:00
Andrew Stadler
418eb07a87 am 7d7ffaf6: am 9031e67b: (-s ours) Fix remote wipe with mobile sync server DO NOT MERGE
* commit '7d7ffaf6a36e1ddc6c91ed3dbf499c271b79965f':
  Fix remote wipe with mobile sync server DO NOT MERGE
2010-10-29 16:23:35 -07:00
Andrew Stadler
7d7ffaf6a3 am 9031e67b: (-s ours) Fix remote wipe with mobile sync server DO NOT MERGE
* commit '9031e67b7e2ec00033a45155ff644fccb33e6bc7':
  Fix remote wipe with mobile sync server DO NOT MERGE
2010-10-29 16:22:11 -07:00
Andrew Stadler
bf567c81c1 am aae1f83a: am 89a799c8: (-s ours) DO NOT MERGE: Don\'t disable account box if sync freq -> "Never"
* commit 'aae1f83ad10aef8ac6379c10ee88c34268a33817':
  DO NOT MERGE: Don't disable account box if sync freq -> "Never"
2010-10-29 16:21:39 -07:00
Andrew Stadler
aae1f83ad1 am 89a799c8: (-s ours) DO NOT MERGE: Don\'t disable account box if sync freq -> "Never"
* commit '89a799c8d4e9b44c2cf5ba6e72f17e1bb652c42b':
  DO NOT MERGE: Don't disable account box if sync freq -> "Never"
2010-10-29 16:19:14 -07:00
Andrew Stadler
9031e67b7e Fix remote wipe with mobile sync server DO NOT MERGE
* It appears as if our running multiple sync threads can confuse the
  mobile sync server during a remote wipe (the server expects the next
  client response to be an acknowledgment, whereas it might well be
  a command or response from a different thread)
* To avoid this, we first put the account on security hold and then
  shut down all other sync threads for the account
* After this, we send the acknowledgment and the remote wipe proceeds
  normally.
* NOTE: It's possible that, due to the vagaries of multithreaded
  operation, one of the other syncing threads could still send a non-
  acknowledgment response to the server before our provisioning thread
  gets a chance to send its acknowledgment.  However, since the other
  syncing threads will terminate (and not restart, because of the hold),
  the provision/remote wipe/ack sequence will work on the subsequent
  attempt

Bug: 2844888
Backport From: Ib4ffbbc67b681e69176b6c1d5515fa80c7d1e121
Backport From: Ie9e944bd39f331c2ddc0f0ba303a3d5684f6f033

Change-Id: Ie57f13a5ca2149961a48b99afaebb812f1cbc88e
2010-10-29 16:18:44 -07:00
Andrew Stadler
89a799c8d4 DO NOT MERGE: Don't disable account box if sync freq -> "Never"
Original Change-Id: Iec214b0fed093ff39dc70d5d821577bcf15f00ed
Bug: 2905667

Change-Id: Iee182596d8c217d6bd78371fcf6fdc4dbfcd04a4
2010-10-29 16:16:40 -07:00
Andrew Stadler
b7a7931db0 am 90e22765: am 3ddfdb8e: (-s ours) Merge "Give email its own version# scheme. DO NOT MERGE" into froyo
* commit '90e227650c58407176ea0cab7e315ebb294a3bf7':
  Give email its own version# scheme.  DO NOT MERGE
2010-10-29 16:16:23 -07:00
Andrew Stadler
53881237b2 am ac6e846c: am bafd3d87: (-s ours) Increase EAS command timeout from 20 to 30 seconds DO NOT MERGE
* commit 'ac6e846c10464b48deb85f320dc8f9b02e76d3a6':
  Increase EAS command timeout from 20 to 30 seconds DO NOT MERGE
2010-10-29 16:14:29 -07:00
Andrew Stadler
90e227650c am 3ddfdb8e: (-s ours) Merge "Give email its own version# scheme. DO NOT MERGE" into froyo
* commit '3ddfdb8e075f57184954a2000e71f70922ab7bd9':
  Give email its own version# scheme.  DO NOT MERGE
2010-10-29 16:14:11 -07:00
Andrew Stadler
ac6e846c10 am bafd3d87: (-s ours) Increase EAS command timeout from 20 to 30 seconds DO NOT MERGE
* commit 'bafd3d871530335ef47b7b33b984b6bff0df91fa':
  Increase EAS command timeout from 20 to 30 seconds DO NOT MERGE
2010-10-29 16:12:19 -07:00
Andrew Stadler
3ddfdb8e07 Merge "Give email its own version# scheme. DO NOT MERGE" into froyo 2010-10-29 16:11:12 -07:00
Andrew Stadler
7ecf6d5ca8 Give email its own version# scheme. DO NOT MERGE
Backport From: I258ffcf47d243417edadad44714f74247c78b366

Change-Id: I66dcce11bfaa5bec6d2936aafeb4fde43eafb2c0
2010-10-29 14:17:49 -07:00
Andrew Stadler
bafd3d8715 Increase EAS command timeout from 20 to 30 seconds DO NOT MERGE
Original Change-Id: Ic58fea147d179ffd18f28a8ce5d290a1b37302ce
Bug: 3027271

Change-Id: I86cd297f3273b20bd21fcca534eb58b39f904965
2010-10-29 14:07:50 -07:00
Eric Fischer
07820cc870 am 641ef663: Import revised translations. DO NOT MERGE
Merge commit '641ef663f3b141c2ca99fa67db20fcb3608b71e7' into gingerbread-plus-aosp

* commit '641ef663f3b141c2ca99fa67db20fcb3608b71e7':
  Import revised translations.  DO NOT MERGE
2010-10-25 17:11:54 -07:00
Eric Fischer
641ef663f3 Import revised translations. DO NOT MERGE
Change-Id: I822b5937c9b79a312cc066ced05c8874221fdc19
2010-10-25 16:51:00 -07:00
Eric Fischer
9182a1c36b am 731a9705: Import revised translations. DO NOT MERGE 2010-10-22 16:06:37 -07:00
Eric Fischer
731a970594 Import revised translations. DO NOT MERGE
Change-Id: I885730c4fd495120c788d11bcd59bbb5fba44743
2010-10-22 15:28:07 -07:00
Marc Blank
a059c4a1c7 am 2a08ef0d: Don\'t allow MailService to schedule EAS accounts
Merge commit '2a08ef0d285ebf9e8fe86afec1ac4732586b7bb5' into gingerbread-plus-aosp

* commit '2a08ef0d285ebf9e8fe86afec1ac4732586b7bb5':
  Don't allow MailService to schedule EAS accounts
2010-10-21 23:13:07 -07:00
Marc Blank
1ecc7da07f am 4a546f5f: DO NOT MERGE: Backport AttachmentProvider security fix
Merge commit '4a546f5f6e22747304a07ab6892aa318447b5fe7' into gingerbread-plus-aosp

* commit '4a546f5f6e22747304a07ab6892aa318447b5fe7':
  DO NOT MERGE: Backport AttachmentProvider security fix
2010-10-21 17:07:28 -07:00
Marc Blank
2a08ef0d28 Don't allow MailService to schedule EAS accounts
Bug: 3120208
Change-Id: I53e935f8bf08e0bda6e2cd483229a6377ed39d74
2010-10-21 16:49:41 -07:00
Marc Blank
4a546f5f6e DO NOT MERGE: Backport AttachmentProvider security fix
* Apps trying to open attachments using AttachmentProvider were
  seeing SecurityExceptions due to the fact that internal calls
  from AttachmentProvider to EmailProvider didn't have their
  calling identity saved/restored.
* Updated provider calls so that these calls use the Email
  process' identity.
* Backport of Ifb71ad834530c6232728e1aad31439991f8ed379, fixing
  2908737

Bug: 3121146
Change-Id: Ifa3a0ca8d3e34733c937d7f8c60f068984e1f4f2
2010-10-21 15:39:36 -07:00