Commit Graph

1037 Commits

Author SHA1 Message Date
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
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
Android (Google) Code Review
c05a48591e Merge change 27394 into eclair
* changes:
  Fix race condition NPE in medium tests (#2148940)
2009-09-27 23:56:33 -04:00
Marc Blank
e0aefba5fe Fix race condition NPE in medium tests (#2148940)
Change-Id: I53a5fcb7eb4889da2cefa0fdc9092e44e57a2741
2009-09-27 20:55:22 -07:00
Dmitri Plotnikov
d18ab323a9 am fff989df: Renaming Presence and Presence-related columns.
Merge commit 'fff989df752fb3843a4fff3bae0fb5b07e3d6a1a' into eclair-plus-aosp

* commit 'fff989df752fb3843a4fff3bae0fb5b07e3d6a1a':
  Renaming Presence and Presence-related columns.
2009-09-27 19:59:53 -07:00
Dmitri Plotnikov
fff989df75 Renaming Presence and Presence-related columns.
Change-Id: Icba02cdb905ae3514ec16bea097167e09bc18a63
2009-09-27 19:46:59 -07:00
Andrew Stadler
51451de1c8 am e6a8d98e: Merge change 27350 into eclair
Merge commit 'e6a8d98e9e038f17d528d45ce2779c65fe46630b' into eclair-plus-aosp

* commit 'e6a8d98e9e038f17d528d45ce2779c65fe46630b':
  Make checkbox and star more easily selected
2009-09-27 17:32:25 -07:00
Andrew Stadler
c0f72dc015 am 9d249df5: Add WebViewClient to specialize link-click behaviors.
Merge commit '9d249df5b8875175cb56f84a33371370944eacc7' into eclair-plus-aosp

* commit '9d249df5b8875175cb56f84a33371370944eacc7':
  Add WebViewClient to specialize link-click behaviors.
2009-09-27 17:32:22 -07:00
Android (Google) Code Review
e6a8d98e9e Merge change 27350 into eclair
* changes:
  Make checkbox and star more easily selected
2009-09-27 20:28:41 -04:00
Andrew Stadler
9d249df5b8 Add WebViewClient to specialize link-click behaviors.
* If external, set FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
* If mailto: always open the composer

Fixes bugs 1631784 and 2122326
2009-09-27 17:23:46 -07:00
Andrew Stadler
2c6e2f72b1 Make checkbox and star more easily selected
Fixes bug # 2149033
2009-09-27 17:04:37 -07:00
Andrew Stadler
2ddfbfc95f am 38615369: Merge change 27308 into eclair
Merge commit '386153695bf3207ff160dc33a1112f7ea6dbd721' into eclair-plus-aosp

* commit '386153695bf3207ff160dc33a1112f7ea6dbd721':
  Watch for null results when updating internaldate.
2009-09-27 15:14:09 -07:00
Android (Google) Code Review
386153695b Merge change 27308 into eclair
* changes:
  Watch for null results when updating internaldate.
2009-09-27 18:05:32 -04:00
Andrew Stadler
ba64cbcaf8 Watch for null results when updating internaldate.
Fixes bug # 2148971

Note, this condition happens when we APPEND a message to the server
but then we turn around and query for it, and the server reports that
it's not there:

 >>> 7 APPEND "Sent" {490}
 <<< #null# [Ready, for, argument]
 <<< #null# [194, EXISTS]
 <<< #7# [OK, [APPENDUID, 1233339552, 1191], APPEND, completed]
 >>> 8 UID SEARCH (HEADER MESSAGE-ID \
       <pwyc0i5yviwvu5nwio2lwdo5.1254073239445@email.android.com>)
 <<< #null# [SEARCH]
 <<< #8# [OK, UID, SEARCH, completed]
 >>> 9 UID SEARCH UID NULL
 <<< #9# [BAD, UID, SEARCH, error;, bogus, or, incorrect, syntax, \
       of, search, critera]

I don't know why the Yahoo! server did this, but now we'll at least not
crash if they do it again.
2009-09-27 14:36:13 -07:00
Marc Blank
4c959dbb11 am a4cc0006: Merge change 27286 into eclair
Merge commit 'a4cc0006f10156426cbfb9045dc4584eda104fdd' into eclair-plus-aosp

* commit 'a4cc0006f10156426cbfb9045dc4584eda104fdd':
  Don't send DisplayName to CP2 from Exchange contacts sync
2009-09-27 13:06:44 -07:00
Android (Google) Code Review
a4cc0006f1 Merge change 27286 into eclair
* changes:
  Don't send DisplayName to CP2 from Exchange contacts sync
2009-09-27 15:59:03 -04:00
Marc Blank
3c7c3c0529 Don't send DisplayName to CP2 from Exchange contacts sync
* Should fix #2141888

Change-Id: I31d769fd23de4ec7e2d06f108afd8642700a8500
2009-09-27 12:50:54 -07:00
Andrew Stadler
4903fb3d2a am e4405a71: Merge change 27165 into eclair
Merge commit 'e4405a714ddbdc659336edbb530bf77d3b212a7f' into eclair-plus-aosp

* commit 'e4405a714ddbdc659336edbb530bf77d3b212a7f':
  Messages upsynced to "sent" should be marked as "read".
2009-09-27 11:41:01 -07:00
Android (Google) Code Review
e4405a714d Merge change 27165 into eclair
* changes:
  Messages upsynced to "sent" should be marked as "read".
2009-09-27 14:33:12 -04:00