Commit Graph

1154 Commits

Author SHA1 Message Date
satok
2caef68d37 am 3786cab2: More refresh account and folder list
Merge commit '3786cab2aa1776e92fc67af3931a76cd8b848b48' into eclair-plus-aosp

* commit '3786cab2aa1776e92fc67af3931a76cd8b848b48':
  More refresh account and folder list
2009-09-29 20:33:22 -07:00
satok
ed94cfd120 Change the color of READ/UNREAD messages
BUG: 2149184

* UNREAD: #000000
* READ: #2C2C2C
2009-09-30 12:32:06 +09:00
satok
3786cab2aa More refresh account and folder list
BUG: 2149171

* Change the string of combined inbox
* Change the string of combined starred folder
* Change the icon for combined inbox
* Change the icon for combined starred folder
2009-09-30 12:24:36 +09:00
Andrew Stadler
74f528f614 am e4a7cc44: Re-enable modernized version of "optional" SSL/TLS
Merge commit 'e4a7cc440f081ef9c4375a2bd2f82680cc11b152' into eclair-plus-aosp

* commit 'e4a7cc440f081ef9c4375a2bd2f82680cc11b152':
  Re-enable modernized version of "optional" SSL/TLS
2009-09-29 15:41:23 -07:00
Andrew Stadler
e4a7cc440f Re-enable modernized version of "optional" SSL/TLS
* Add "Accept all certificates" modes to incoming/outgoing secure choices
* Change URI scheme slightly to make "trust" a flag, not part of the
    protocol.
* Change Stores to know about new URI scheme
* Slightly rework Transport API to make "trust" an independent flag
* Adapt HostAuth to handle new Uri scheme
* Remove the old ambiguous "optional" code, which was allowing
    some unsigned certificates, but was *also* allowing TLS to
    optionally start (though not SSL, despite the UI strings.)
* Add a few unit tests to EmailContent
* Add logging and a bunch of comments to TrustManagerFactory, and a bit
    of simple cleanup to make it more readable.
* Add missing conversion of SSLException->CertificateValidationException
    in TLS so we get the correct certificate errors from TLS too.
* Re-enable TLS for mac.com accounts (which had a certificate problem)

Fixes bug http://b/2119755, http://b/1374780, and probably a raft of
earlier and/or external bugs about certificate problems.

Change-Id: Iaf99a8da3eaadaa4cdeec224737838b5d6813e55
2009-09-29 15:28:43 -07:00
Marc Blank
1d0e9e6fb9 Use built-in rows for Birthday and OfficeLocation (fixes #2154423)
Change-Id: I9c6976121c662b5071fb7c86e70ab91d3ae47e53
2009-09-29 13:07:20 -07:00
Marc Blank
57ea7c87bd am 0797b4e3: Near-final tweaks to sync timeouts and logging
Merge commit '0797b4e35189c47574476773c126178a493bfada' into eclair-plus-aosp

* commit '0797b4e35189c47574476773c126178a493bfada':
  Near-final tweaks to sync timeouts and logging
2009-09-29 12:17:18 -07:00
Marc Blank
0797b4e351 Near-final tweaks to sync timeouts and logging
* Tighten up user logging
* Send all HttpClient commands w/ watchdog to prevent
  holding wakelocks too long
* Fix case in which no ping boxes are ready in which
  ping loop would hang on to WakeLock indefinitely
* Release WakeLock for waits < 10 seconds, rather than
  30s in SyncManager
* Improve logging of IOExceptions
* Log network status (at least until #2150976 is fixed)

Change-Id: I020b8a21c2c4f536d5b6df871f6b5c03fdc66ab8
2009-09-29 11:37:01 -07:00
Mihai Preda
2ab30ce247 MessageCompose: avoid saving Draft early, before the message was loaded.
And correctly set mDraftNeedsSaving when started through external intent.

Bug: 2149148, 2152044.
2009-09-29 15:47:00 +02:00
Mihai Preda
236e308522 am 2dd894df: MessageCompose: fix unit tests that were broken by CL 27435.
Merge commit '2dd894df2fee388addcf23ea4c63c2a95b984890' into eclair-plus-aosp

* commit '2dd894df2fee388addcf23ea4c63c2a95b984890':
  MessageCompose: fix unit tests that were broken by CL 27435.
2009-09-29 06:29:34 -07:00
Mihai Preda
2dd894df2f MessageCompose: fix unit tests that were broken by CL 27435.
Bug 2150598.
2009-09-29 11:19:01 +02:00
Mike Cleron
d9322e11dd am d936f137: Merge change I0805f502 into eclair
Merge commit 'd936f1378acb60203fd54648a62d06027b5bf629' into eclair-plus-aosp

* commit 'd936f1378acb60203fd54648a62d06027b5bf629':
  New icons
2009-09-29 00:17:57 -07:00
Android (Google) Code Review
d936f1378a Merge change I0805f502 into eclair
* changes:
  New icons
2009-09-29 03:11:14 -04:00
Mike Cleron
0805f5024d New icons 2009-09-29 00:07:58 -07:00
satok
86241e23e4 am b0b61fa2: Merge change I74466dcc into eclair
Merge commit 'b0b61fa2e4b9e884e745115697f7f4f081272f08' into eclair-plus-aosp

* commit 'b0b61fa2e4b9e884e745115697f7f4f081272f08':
  Update unread counts and default sender Id in AccountFolderList after folder loding messages
2009-09-28 21:39:35 -07:00
Android (Google) Code Review
b0b61fa2e4 Merge change I74466dcc into eclair
* changes:
  Update unread counts and default sender Id in AccountFolderList after folder loding messages
2009-09-29 00:35:05 -04:00
Marc Blank
9489efc90a am 3b95f691: Handle upload of Phone.TYPE_ASSISTANT (fixes #2127721)
Merge commit '3b95f691ee7b0d2e78a65a641b9597e29466290b' into eclair-plus-aosp

* commit '3b95f691ee7b0d2e78a65a641b9597e29466290b':
  Handle upload of Phone.TYPE_ASSISTANT (fixes #2127721)
2009-09-28 20:47:26 -07:00
Marc Blank
3b95f691ee Handle upload of Phone.TYPE_ASSISTANT (fixes #2127721)
Change-Id: Ic59931b9d8643c599c43a164da4b4cfcc36f98c2
2009-09-28 20:41:51 -07:00
Marc Blank
e47de41c62 am a4258ed4: Fix sendPing to set proper ping timeouts
Merge commit 'a4258ed4877a0d559c7f600be9a326135aed4440' into eclair-plus-aosp

* commit 'a4258ed4877a0d559c7f600be9a326135aed4440':
  Fix sendPing to set proper ping timeouts
2009-09-28 20:17:33 -07:00
Marc Blank
a4258ed487 Fix sendPing to set proper ping timeouts
* We were setting the timeout and heartbeat to the same time,
  which could cause mistaken timeouts
* Set timeout ten seconds after the heartbeat for now, and set
  an alarm a few seconds after that

Change-Id: Ic2f7b44c9626ebbdd7a8821f53f7aaf6169f62c3
2009-09-28 20:06:54 -07:00
satok
473a5e5c66 Update unread counts and default sender Id in AccountFolderList after folder loding messages
BUG: 2072360
2009-09-29 10:32:44 +09:00
Marc Blank
1370b086b1 am 62cf0a33: Merge change Id6da4520 into eclair
Merge commit '62cf0a3336875752b1a180f55ed19f1f6fb3ee68' into eclair-plus-aosp

* commit '62cf0a3336875752b1a180f55ed19f1f6fb3ee68':
  Remove a bit of logging in ContactsSyncAdapter
2009-09-28 17:09:05 -07:00
Android (Google) Code Review
62cf0a3336 Merge change Id6da4520 into eclair
* changes:
  Remove a bit of logging in ContactsSyncAdapter
2009-09-28 20:02:46 -04:00
Marc Blank
4833cd686f Remove a bit of logging in ContactsSyncAdapter
Change-Id: Id6da45202f0fa0970571a624a89546e90d1bee2c
2009-09-28 17:02:14 -07:00
Andrew Stadler
27bf596dfe am 0d4681cd: Catch possible NPE in IMAP sync.
Merge commit '0d4681cd6606015fd242f148ec213a3256a81ec7' into eclair-plus-aosp

* commit '0d4681cd6606015fd242f148ec213a3256a81ec7':
  Catch possible NPE in IMAP sync.
2009-09-28 16:28:29 -07:00
Andrew Stadler
0d4681cd66 Catch possible NPE in IMAP sync.
I don't know the root cause of the null pointer (possibly a broken
connection earlier in the sync) but we shouldn't be crashing here.

Fixes http://b/2135743
2009-09-28 15:56:38 -07:00
Marc Blank
58ca8aa513 am 0f7542e7: Merge change I3fb6ea7a into eclair
Merge commit '0f7542e71483535417a932d2016e44188fb9275c' into eclair-plus-aosp

* commit '0f7542e71483535417a932d2016e44188fb9275c':
  Change "Exchange" -> "Corporate" for AccountManager
2009-09-28 14:57:56 -07:00
Marc Blank
4037a546f5 am aff9926d: Merge change I56e23586 into eclair
Merge commit 'aff9926d84a2ae3b669d8acb1cb2f80e3b37b33f' into eclair-plus-aosp

* commit 'aff9926d84a2ae3b669d8acb1cb2f80e3b37b33f':
  Reduce the sync window from 20 items to 5 (partial fix #2149029)
2009-09-28 14:57:52 -07:00
Android (Google) Code Review
0f7542e714 Merge change I3fb6ea7a into eclair
* changes:
  Change "Exchange" -> "Corporate" for AccountManager
2009-09-28 17:54:24 -04:00
Android (Google) Code Review
aff9926d84 Merge change I56e23586 into eclair
* changes:
  Reduce the sync window from 20 items to 5 (partial fix #2149029)
2009-09-28 17:52:49 -04:00
Marc Blank
f60bf5f351 Reduce the sync window from 20 items to 5 (partial fix #2149029)
* This change trades off network time / overhead with time keeping
  ContactsProvider2 busy
* The net effect will probably be to reduce some UI slowdowns while
  syncing Exchange contacts, while increasing the time it takes to
  sync those contacts

Change-Id: I56e2358698aa4c901cda4559f7a8f9117681f627
2009-09-28 14:49:35 -07:00
Marc Blank
24d247a506 Change "Exchange" -> "Corporate" for AccountManager
* Addresses #2144376 (legal requirement)

Change-Id: I3fb6ea7a396e6cca068b9c4f1ee79eb785298c5f
2009-09-28 14:47:21 -07:00
Andrew Stadler
37abbcd6e8 am deffba58: Stop forcing email logging for all users
Merge commit 'deffba584e9a66ca3dca3c897728fd1b8c66b368' into eclair-plus-aosp

* commit 'deffba584e9a66ca3dca3c897728fd1b8c66b368':
  Stop forcing email logging for all users
2009-09-28 14:46:44 -07:00
Andrew Stadler
deffba584e Stop forcing email logging for all users
* Don't force Email.Debug == true
* Also, remove some unneeded development logging from MailService
2009-09-28 14:31:56 -07:00
Marc Blank
6148b0a0be am 832e4a02: Add hostChanged service call; use it from UI (fixes #2148572)
Merge commit '832e4a02a670b565a377938b3138e73421d59388' into eclair-plus-aosp

* commit '832e4a02a670b565a377938b3138e73421d59388':
  Add hostChanged service call; use it from UI (fixes #2148572)
2009-09-28 11:07:07 -07:00
Marc Blank
832e4a02a6 Add hostChanged service call; use it from UI (fixes #2148572)
* After a HostAuth has been changed for an EAS account, the SyncManager needs
  to be alerted so that it can take appropriate action
* Added hostChanged service call
* Send service call from AccountSetupExchange after a HostAuth is edited
* Stop running syncs and clear error states in hostChanged

Change-Id: I2311e2d00be81ea7829f5f4e38b2377f18c63f30
2009-09-28 10:57:27 -07:00
Mihai Preda
0a656eeeee am 695fdb1c: Merge change 27443 into eclair
Merge commit '695fdb1cbbe2da817b5b70a00568a0a905e139f0' into eclair-plus-aosp

* commit '695fdb1cbbe2da817b5b70a00568a0a905e139f0':
  MessageView: check for null mMessageContentView on access.
2009-09-28 09:26:58 -07:00
Android (Google) Code Review
695fdb1cbb Merge change 27443 into eclair
* changes:
  MessageView: check for null mMessageContentView on access.
2009-09-28 12:20:08 -04:00
Mihai Preda
a782474b97 am 02fcd3b4: MessageCompose: fix loading the quoted text after a configuration change.
Merge commit '02fcd3b4e7ad526d1be1f7a62d7dfbefc50727ba' into eclair-plus-aosp

* commit '02fcd3b4e7ad526d1be1f7a62d7dfbefc50727ba':
  MessageCompose: fix loading the quoted text after a configuration change.
2009-09-28 09:12:22 -07:00
Mihai Preda
8ad5daf856 am 7768ce27: MessageCompose: delete the attachments that are removed in the UI.
Merge commit '7768ce276ede4ee979df28ee514ddca79bdb90ab' into eclair-plus-aosp

* commit '7768ce276ede4ee979df28ee514ddca79bdb90ab':
  MessageCompose: delete the attachments that are removed in the UI.
2009-09-28 09:12:18 -07:00
Mihai Preda
02fcd3b4e7 MessageCompose: fix loading the quoted text after a configuration change.
Bug 2136283.

Because of the mSourceMessageProcessed guard, the loading after a config change
was done exclusively by the default view hierarchy save/restore.

But this default view restore does not handle WebView content,
thus affecting the quoted text.
2009-09-28 18:07:33 +02:00
Mihai Preda
7768ce276e MessageCompose: delete the attachments that are removed in the UI.
Bug 2139949.
2009-09-28 18:04:06 +02:00
Andrew Stadler
cfed2a83e3 am ce3bb9ab: Merge change 27407 into eclair
Merge commit 'ce3bb9abccf02f047b1d11083584d5ab04ad6341' into eclair-plus-aosp

* commit 'ce3bb9abccf02f047b1d11083584d5ab04ad6341':
  Per spec, allow all attachments to be added via INTENT.
2009-09-28 08:57:36 -07:00
Android (Google) Code Review
ce3bb9abcc Merge change 27407 into eclair
* changes:
  Per spec, allow all attachments to be added via INTENT.
2009-09-28 11:49:27 -04:00
Mihai Preda
7f025a15c4 MessageView: check for null mMessageContentView on access.
Bug 2148358.

It seems that AsyncTask.onPostExecute() can be invoked even after the task
was cancelled, and after Activity.onDestroy().
2009-09-28 16:47:25 +02:00
Marc Blank
ed71393417 am 4c8f0628: Merge change 27393 into eclair
Merge commit '4c8f06283ff1ecdb197d4e446588928333e77a81' into eclair-plus-aosp

* commit '4c8f06283ff1ecdb197d4e446588928333e77a81':
  Don't send local changes of Drafts/Outbox to server (fixes #2149122)
2009-09-28 07:16:43 -07:00
Android (Google) Code Review
4c8f06283f Merge change 27393 into eclair
* changes:
  Don't send local changes of Drafts/Outbox to server (fixes #2149122)
2009-09-28 10:12:53 -04:00
Marc Blank
c91b1489e5 Don't send local changes of Drafts/Outbox to server (fixes #2149122)
* Also, check that there's a valid serverId before doing any updates
  to a message

Change-Id: I5cbfafcc20949b8a33ba08a12ea726168742205b
2009-09-28 07:12:09 -07:00
Andrew Stadler
92a1ff9b77 Per spec, allow all attachments to be added via INTENT.
* Change manifest intent-filter to */*
* Split incoming whitelist into send_ui and send_intent versions

Bugs:  2097457 (general) & 2138790 (.vcf)

Change-Id: Id4a2bb3a75808811578c643a7b841de9491efce4
2009-09-27 23:49:10 -07:00
Marc Blank
a44d62f6de am c05a4859: Merge change 27394 into eclair
Merge commit 'c05a48591eaac1d751696e962f4111743bc848f5' into eclair-plus-aosp

* commit 'c05a48591eaac1d751696e962f4111743bc848f5':
  Fix race condition NPE in medium tests (#2148940)
2009-09-27 21:00:29 -07:00