13718 Commits

Author SHA1 Message Date
Mike Lockwood
5bc88fac0d am bd2473a9: am 0cb3f587: am 0d72f7e9: Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
Merge commit 'bd2473a9aaf0504609e7b8caca00646af53bbed6'

* commit 'bd2473a9aaf0504609e7b8caca00646af53bbed6':
  Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
2009-11-06 10:28:21 -08:00
Android (Google) Code Review
300160edc9 Merge change I29a3be5b into eclair-mr2
* changes:
  Calendar: add CALLER_IS_SYNCADAPTER parameter.
2009-11-06 13:23:27 -05:00
Xavier Ducrohet
f6d023ec93 am bef17491: am 9eaff61a: am 91bb62f0: New API 4 with new CDMA constants.
Merge commit 'bef17491488a297c8f6587bd37e333cbb8cf0ce4' into eclair-mr2-plus-aosp

* commit 'bef17491488a297c8f6587bd37e333cbb8cf0ce4':
  New API 4 with new CDMA constants.
2009-11-06 10:17:45 -08:00
Andreas Huber
5959228b6c am be364022: am fde273ba: Merge change Ic997acac into eclair
Merge commit 'be364022fbdaa8eaef986b0ac4dae1c4ac7d64d5' into eclair-mr2-plus-aosp

* commit 'be364022fbdaa8eaef986b0ac4dae1c4ac7d64d5':
  Make AudioPlayer a little less verbose, defer starting audio playback until after the first video frame has been decoded (if there's video at all).
2009-11-06 10:17:35 -08:00
Jared Suttles
cfa254fe10 am 1ae7831b: am 8b1243e5: jni: GpsLocationProvider: Check for pending callbacks before waiting
Merge commit '1ae7831b8a90a9c0c614790027ce88d5fe75cf93' into eclair-mr2-plus-aosp

* commit '1ae7831b8a90a9c0c614790027ce88d5fe75cf93':
  jni: GpsLocationProvider: Check for pending callbacks before waiting
2009-11-06 10:17:26 -08:00
Mike Lockwood
bd2473a9aa am 0cb3f587: am 0d72f7e9: Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
Merge commit '0cb3f58741efa2b2b7477cbae973a29e614c62e8' into eclair-mr2-plus-aosp

* commit '0cb3f58741efa2b2b7477cbae973a29e614c62e8':
  Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
2009-11-06 10:17:14 -08:00
Xavier Ducrohet
bef1749148 am 9eaff61a: am 91bb62f0: New API 4 with new CDMA constants.
Merge commit '9eaff61adf15b4e6cced7da3d7c239e2fc41f8ed' into eclair-mr2

* commit '9eaff61adf15b4e6cced7da3d7c239e2fc41f8ed':
  New API 4 with new CDMA constants.
2009-11-06 10:08:03 -08:00
Andreas Huber
be364022fb am fde273ba: Merge change Ic997acac into eclair
Merge commit 'fde273baf6592a5fde15ee4dd4d798d90368e440' into eclair-mr2

* commit 'fde273baf6592a5fde15ee4dd4d798d90368e440':
  Make AudioPlayer a little less verbose, defer starting audio playback until after the first video frame has been decoded (if there's video at all).
2009-11-06 10:07:53 -08:00
Xavier Ducrohet
9eaff61adf am 91bb62f0: New API 4 with new CDMA constants.
Merge commit '91bb62f0dc002065cb1932a96fecf15c1b92b6e9' into eclair

* commit '91bb62f0dc002065cb1932a96fecf15c1b92b6e9':
  New API 4 with new CDMA constants.
2009-11-06 10:00:29 -08:00
Andreas Huber
9a50fdf467 Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting. 2009-11-06 08:44:26 -08:00
Android (Google) Code Review
fde273baf6 Merge change Ic997acac into eclair
* changes:
  Make AudioPlayer a little less verbose, defer starting audio playback until after the first video frame has been decoded (if there's video at all).
2009-11-06 11:27:03 -05:00
Cary Clark
4e9fe62b37 do not merge -- original checkin to mr2 here:
https://android-git.corp.google.com/g/#change,30204

check for native initialization before calling public function

Added more checks where it is possible to call a native function
after creating a WebView but before the native side is initialized.

These cases can be triggered by the monkey.

Fixes http://b/issue?id=2187719
2009-11-06 10:29:30 -05:00
Jared Suttles
1ae7831b8a am 8b1243e5: jni: GpsLocationProvider: Check for pending callbacks before waiting
Merge commit '8b1243e5e4930598e8e78ebd18e7b6cd6fb0445f' into eclair-mr2

* commit '8b1243e5e4930598e8e78ebd18e7b6cd6fb0445f':
  jni: GpsLocationProvider: Check for pending callbacks before waiting
2009-11-06 06:31:37 -08:00
Mike Lockwood
0cb3f58741 am 0d72f7e9: Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
Merge commit '0d72f7e9fc0d6f774eda5758d111bec5608bcf42' into eclair-mr2

* commit '0d72f7e9fc0d6f774eda5758d111bec5608bcf42':
  Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
2009-11-06 05:35:04 -08:00
Jared Suttles
8b1243e5e4 jni: GpsLocationProvider: Check for pending callbacks before waiting
This change fixes a corner case where a callback may not get handled until
a second callback arrives.  This can happen because there is a significant
section of the wait_for_event function where the mutex is not locked, and
the sPendingCallbacks member could be updated.  We now check to see if
there is a pending callback to handle before we wait for another callback.

Change-Id: I20cfae1e780944bb74133940dda032efc4c55540
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
Signed-off-by: Jared Suttles <jared.suttles@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-06 08:28:58 -05:00
Mike Lockwood
0d72f7e9fc Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
This should fix a "black screen" bug that Motorola identified.
mProximitySensorActive was being set to true due to a proximity sensor change being posted
just after we disabled the proximity sensor.
Now we ignore proximity changes after the phone app releases the proximity lock after the call is done.

Change-Id: I417d423de3d43515389b1b7b008cdcb795cd10f6
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-06 08:28:19 -05:00
jsh
8031e02bcb am 414628c5: am 9e63ce81: am 092f0341: Merge change I44d4cbec into eclair
Merge commit '414628c55ab0e51c0cc4d7ff34368d76a2e981e8'

* commit '414628c55ab0e51c0cc4d7ff34368d76a2e981e8':
  Fix some SMS encode issues.
2009-11-06 00:40:22 -08:00
Suchi Amalapurapu
6334b05d38 am 972bad3c: am 750e82e5: am bf50200b: Merge change Ic9568e39 into eclair
Merge commit '972bad3cb805494e10b0af1a40c1c3b2dc8d1fea'

* commit '972bad3cb805494e10b0af1a40c1c3b2dc8d1fea':
  When tasks are moved to top or bottom, the app tokens are being rearranged.
2009-11-06 00:40:11 -08:00
Jack Palevich
3f7b5a13ca am a9e47546: am 79447b20: resolved conflicts for merge of 84872738 to eclair-mr2
Merge commit 'a9e47546a5132b30a2ed1e24d9193d4db09ef323'

* commit 'a9e47546a5132b30a2ed1e24d9193d4db09ef323':
  Improve GLSurfaceView to avoid deadlocks and race conditions.
2009-11-06 00:40:00 -08:00
jsh
414628c55a am 9e63ce81: am 092f0341: Merge change I44d4cbec into eclair
Merge commit '9e63ce81c5e870a058752974286f21d566d092db' into eclair-mr2-plus-aosp

* commit '9e63ce81c5e870a058752974286f21d566d092db':
  Fix some SMS encode issues.
2009-11-06 00:30:49 -08:00
Suchi Amalapurapu
972bad3cb8 am 750e82e5: am bf50200b: Merge change Ic9568e39 into eclair
Merge commit '750e82e51921428dc4ad9a75f18b02b8048734d8' into eclair-mr2-plus-aosp

* commit '750e82e51921428dc4ad9a75f18b02b8048734d8':
  When tasks are moved to top or bottom, the app tokens are being rearranged.
2009-11-06 00:30:40 -08:00
Jack Palevich
a9e47546a5 am 79447b20: resolved conflicts for merge of 84872738 to eclair-mr2
Merge commit '79447b2087c8c820d742185dda7305101f9656f0' into eclair-mr2-plus-aosp

* commit '79447b2087c8c820d742185dda7305101f9656f0':
  Improve GLSurfaceView to avoid deadlocks and race conditions.
2009-11-06 00:25:44 -08:00
jsh
9e63ce81c5 am 092f0341: Merge change I44d4cbec into eclair
Merge commit '092f03418a4988e4da706dca27128327b5a5fc55' into eclair-mr2

* commit '092f03418a4988e4da706dca27128327b5a5fc55':
  Fix some SMS encode issues.
2009-11-06 00:23:13 -08:00
Suchi Amalapurapu
750e82e519 am bf50200b: Merge change Ic9568e39 into eclair
Merge commit 'bf50200ba494db0ac2ce655a95f76640f49355ee' into eclair-mr2

* commit 'bf50200ba494db0ac2ce655a95f76640f49355ee':
  When tasks are moved to top or bottom, the app tokens are being rearranged.
2009-11-06 00:23:03 -08:00
Jack Palevich
79447b2087 resolved conflicts for merge of 84872738 to eclair-mr2 2009-11-06 00:13:38 -08:00
Android (Google) Code Review
092f03418a Merge change I44d4cbec into eclair
* changes:
  Fix some SMS encode issues.
2009-11-06 03:07:01 -05:00
jsh
3e5c3a6db4 Fix some SMS encode issues.
1. Spanish SMS 71-160 chars not sent. This was because calculateLength
allowed for single-segment EMS encoding, while encodeUserDataPayload
did not.  For now, change calculateLength to match encodeUserDataPayload
(ie, fallback to UTF16 in this case).  (b/2224849)
2. Unicode value of N w/tilde was incorrect. (b/2224849)
3. Add '\' and '/' to the list of valid separators in CDMA SMS numeric
addresses. (b/2236527)
2009-11-05 23:39:21 -08:00
Android (Google) Code Review
bf50200ba4 Merge change Ic9568e39 into eclair
* changes:
  When tasks are moved to top or bottom, the app tokens are being rearranged. The window token rearrangement is defered if an animation is underway. Force a focus recomputation when the window tokens are finally rearranged so that we have a valid focused window.
2009-11-06 02:12:40 -05:00
Android (Google) Code Review
84872738f2 Merge change I971f6fd3 into eclair
* changes:
  Improve GLSurfaceView to avoid deadlocks and race conditions.
2009-11-06 01:23:52 -05:00
Dianne Hackborn
790bc8f147 am 78e502df: am 892574f5: am 13bf8260: Fix SDK build: a few things missing, a link that was wrong.
Merge commit '78e502df5163e8bcdd803af7f0a3958322a288dc'

* commit '78e502df5163e8bcdd803af7f0a3958322a288dc':
  Fix SDK build: a few things missing, a link that was wrong.
2009-11-05 22:13:41 -08:00
Dianne Hackborn
78e502df51 am 892574f5: am 13bf8260: Fix SDK build: a few things missing, a link that was wrong.
Merge commit '892574f5f91b834f70ace880301db61f60d58362' into eclair-mr2-plus-aosp

* commit '892574f5f91b834f70ace880301db61f60d58362':
  Fix SDK build: a few things missing, a link that was wrong.
2009-11-05 22:02:56 -08:00
Dianne Hackborn
892574f5f9 am 13bf8260: Fix SDK build: a few things missing, a link that was wrong.
Merge commit '13bf8260134d516cbcc982d360d9f21067f47fa6' into eclair-mr2

* commit '13bf8260134d516cbcc982d360d9f21067f47fa6':
  Fix SDK build: a few things missing, a link that was wrong.
2009-11-05 21:57:51 -08:00
Dianne Hackborn
13bf826013 Fix SDK build: a few things missing, a link that was wrong.
Change-Id: I55c9c510b3f0866ce6085927afa00b9fb69dd8c5
2009-11-05 21:45:51 -08:00
Dianne Hackborn
62834b829c am 85fdfd01: am 237cc15c: am 274b120f: Fix issue #2243096: Need to expose live wallpaper APIs in SDK
Merge commit '85fdfd0144c06dcef7652a8dd283f717cabe8759'

* commit '85fdfd0144c06dcef7652a8dd283f717cabe8759':
  Fix issue #2243096: Need to expose live wallpaper APIs in SDK
2009-11-05 20:57:33 -08:00
Joe Onorato
8c56a63fb0 am 178b6c91: am c92196f6: am c3f3f9a9: Merge change Ie71d9e42 into eclair
Merge commit '178b6c91bcc6a77643f4a5f7939c2120ad41b977'

* commit '178b6c91bcc6a77643f4a5f7939c2120ad41b977':
  Another test for StatusBar test.
2009-11-05 20:57:22 -08:00
Romain Guy
9aed49e2a5 am 57e7109d: am 15b9de8c: am 1d5b3a63: Fix the build
Merge commit '57e7109d13e17ca5b4a8a4b9e3fd952f1afcaf75'

* commit '57e7109d13e17ca5b4a8a4b9e3fd952f1afcaf75':
  Fix the build
2009-11-05 20:57:09 -08:00
Mike Lockwood
8aa136a78c am e0c1bc98: am b31174de: am 9ce3df55: Merge change I2c6e54e4 into eclair
Merge commit 'e0c1bc983431254a6fb4084ccda507f15e8247f6'

* commit 'e0c1bc983431254a6fb4084ccda507f15e8247f6':
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:56:57 -08:00
Dianne Hackborn
85fdfd0144 am 237cc15c: am 274b120f: Fix issue #2243096: Need to expose live wallpaper APIs in SDK
Merge commit '237cc15c171511e8c8ffe903c5d6f473593477b8' into eclair-mr2-plus-aosp

* commit '237cc15c171511e8c8ffe903c5d6f473593477b8':
  Fix issue #2243096: Need to expose live wallpaper APIs in SDK
2009-11-05 20:49:22 -08:00
Dianne Hackborn
237cc15c17 am 274b120f: Fix issue #2243096: Need to expose live wallpaper APIs in SDK
Merge commit '274b120f3975c8db6daeeab51a5fe08d6dede479' into eclair-mr2

* commit '274b120f3975c8db6daeeab51a5fe08d6dede479':
  Fix issue #2243096: Need to expose live wallpaper APIs in SDK
2009-11-05 20:41:50 -08:00
Joe Onorato
178b6c91bc am c92196f6: am c3f3f9a9: Merge change Ie71d9e42 into eclair
Merge commit 'c92196f6932571ddd8b353dd9c9bb37245e3e2de' into eclair-mr2-plus-aosp

* commit 'c92196f6932571ddd8b353dd9c9bb37245e3e2de':
  Another test for StatusBar test.
2009-11-05 20:37:38 -08:00
Romain Guy
57e7109d13 am 15b9de8c: am 1d5b3a63: Fix the build
Merge commit '15b9de8cf217c315acb57044c43a9b12da57b6c4' into eclair-mr2-plus-aosp

* commit '15b9de8cf217c315acb57044c43a9b12da57b6c4':
  Fix the build
2009-11-05 20:37:29 -08:00
Mike Lockwood
e0c1bc9834 am b31174de: am 9ce3df55: Merge change I2c6e54e4 into eclair
Merge commit 'b31174de6a3d5ba39ccea02c9b653ea4f950bb89' into eclair-mr2-plus-aosp

* commit 'b31174de6a3d5ba39ccea02c9b653ea4f950bb89':
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:37:20 -08:00
Dianne Hackborn
274b120f39 Fix issue #2243096: Need to expose live wallpaper APIs in SDK
Change-Id: I7e996bf549922c1bb8e8c00d051650ffe12d818c
2009-11-05 20:35:23 -08:00
Joe Onorato
c92196f693 am c3f3f9a9: Merge change Ie71d9e42 into eclair
Merge commit 'c3f3f9a90b7d7f8a9665df9c194cff81d0d1782c' into eclair-mr2

* commit 'c3f3f9a90b7d7f8a9665df9c194cff81d0d1782c':
  Another test for StatusBar test.
2009-11-05 20:28:10 -08:00
Romain Guy
15b9de8cf2 am 1d5b3a63: Fix the build
Merge commit '1d5b3a631cfcbfd2ea264f29a11a1366a16593b0' into eclair-mr2

* commit '1d5b3a631cfcbfd2ea264f29a11a1366a16593b0':
  Fix the build
2009-11-05 20:27:53 -08:00
Mike Lockwood
b31174de6a am 9ce3df55: Merge change I2c6e54e4 into eclair
Merge commit '9ce3df55bab12bea563faf764f7beb3555d5942c' into eclair-mr2

* commit '9ce3df55bab12bea563faf764f7beb3555d5942c':
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:26:44 -08:00
Wei-Ta Chen
88760cf50e am fa43c063: am d512a3b3: Merge change Ic1d72f56 into eclair-mr2
Merge commit 'fa43c063a3263e9c6c7363d62aff7d93a69b5624'

* commit 'fa43c063a3263e9c6c7363d62aff7d93a69b5624':
  Make createThumbnailFromEXIF prefer choosing a thumbnail from the exif
2009-11-05 20:18:42 -08:00
Wink Saville
7cfee29baf am 47601c74: am e14861ea: am 09263e1b: Merge change Id0267cc0 into eclair
Merge commit '47601c74f1302f70716c81714373687358ce8d8b'

* commit '47601c74f1302f70716c81714373687358ce8d8b':
  Add needsOtaServiceProvisioning and used to not allow
2009-11-05 20:18:31 -08:00
James Dong
b09c8ba082 am 421a32fb: am 99588d59: am 1e495da1: Merge change I4b03c2cd into eclair
Merge commit '421a32fb31f46860ce77b0e8131178a0af52d087'

* commit '421a32fb31f46860ce77b0e8131178a0af52d087':
  Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java
2009-11-05 20:18:19 -08:00
Jean-Michel Trivi
76dfdad08f am 5a76b6df: am 571529f8: am d94ed379: Merge change I1dc2ae28 into eclair
Merge commit '5a76b6dfcb8223cd156a8580fa0fc4ded97983db'

* commit '5a76b6dfcb8223cd156a8580fa0fc4ded97983db':
  Fix bug 2242585 to unhide the new audio recording sources.
2009-11-05 20:18:04 -08:00