OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change I2effb21e into eclair-mr2
Android (Google) Code Review [Fri, 6 Nov 2009 21:08:38 +0000 (16:08 -0500)]
Merge change I2effb21e into eclair-mr2

* changes:
  Add UPDATE_ACTION to Gservices, used by the new checkin service.

14 years agoam 7e4a0047: Merge change I97b30e2f into eclair
Evan Millar [Fri, 6 Nov 2009 19:54:59 +0000 (11:54 -0800)]
am 7e4a0047: Merge change I97b30e2f into eclair

Merge commit '7e4a004799eae347f1be227ecba6850d1b386bd2' into eclair-mr2

* commit '7e4a004799eae347f1be227ecba6850d1b386bd2':
  Revert jparks code from IPCThreadState.

14 years agoMerge change I97b30e2f into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 19:49:39 +0000 (14:49 -0500)]
Merge change I97b30e2f into eclair

* changes:
  Revert jparks code from IPCThreadState.

14 years agoam 3cba7288: Merge change I6ccd2ebc into eclair
Charles Mendis [Fri, 6 Nov 2009 19:46:43 +0000 (11:46 -0800)]
am 3cba7288: Merge change I6ccd2ebc into eclair

Merge commit '3cba72880b78b81cda2868136462c9e261a3e403' into eclair-mr2

* commit '3cba72880b78b81cda2868136462c9e261a3e403':
  Expose PowerManager.isScreenOn in the public api.

14 years agoMerge change I6ccd2ebc into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 19:39:22 +0000 (14:39 -0500)]
Merge change I6ccd2ebc into eclair

* changes:
  Expose PowerManager.isScreenOn in the public api.

14 years agoExpose PowerManager.isScreenOn in the public api.
Charles Mendis [Thu, 29 Oct 2009 18:06:59 +0000 (11:06 -0700)]
Expose PowerManager.isScreenOn in the public api.

Change-Id: I6ccd2ebcbf3f8ad9ffa4b86a9c037cb0c25a7b78

14 years agoam 45011f2d: (-s ours) Merge change I4e9fe62b into eclair
Cary Clark [Fri, 6 Nov 2009 19:29:40 +0000 (11:29 -0800)]
am 45011f2d: (-s ours) Merge change I4e9fe62b into eclair

Merge commit '45011f2dc56e99c00bd1f3abff4f11d6df644d80' into eclair-mr2

* commit '45011f2dc56e99c00bd1f3abff4f11d6df644d80':
  do not merge -- original checkin to mr2 here:

14 years agoMerge change I9a50fdf4 into eclair-mr2
Android (Google) Code Review [Fri, 6 Nov 2009 19:25:26 +0000 (14:25 -0500)]
Merge change I9a50fdf4 into eclair-mr2

* changes:
  Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting.

14 years agoRevert jparks code from IPCThreadState.
Evan Millar [Fri, 6 Nov 2009 19:25:23 +0000 (11:25 -0800)]
Revert jparks code from IPCThreadState.

14 years agoMerge change I4e9fe62b into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 19:23:14 +0000 (14:23 -0500)]
Merge change I4e9fe62b into eclair

* changes:
  do not merge -- original checkin to mr2 here:

14 years agoMerge change I29a3be5b into eclair-mr2
Android (Google) Code Review [Fri, 6 Nov 2009 18:23:27 +0000 (13:23 -0500)]
Merge change I29a3be5b into eclair-mr2

* changes:
  Calendar: add CALLER_IS_SYNCADAPTER parameter.

14 years agoam 9eaff61a: am 91bb62f0: New API 4 with new CDMA constants.
Xavier Ducrohet [Fri, 6 Nov 2009 18:08:03 +0000 (10:08 -0800)]
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.

14 years agoam fde273ba: Merge change Ic997acac into eclair
Andreas Huber [Fri, 6 Nov 2009 18:07:53 +0000 (10:07 -0800)]
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).

14 years agoam 91bb62f0: New API 4 with new CDMA constants.
Xavier Ducrohet [Fri, 6 Nov 2009 18:00:29 +0000 (10:00 -0800)]
am 91bb62f0: New API 4 with new CDMA constants.

Merge commit '91bb62f0dc002065cb1932a96fecf15c1b92b6e9' into eclair

* commit '91bb62f0dc002065cb1932a96fecf15c1b92b6e9':
  New API 4 with new CDMA constants.

14 years agoHandle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping...
Andreas Huber [Fri, 6 Nov 2009 16:40:09 +0000 (08:40 -0800)]
Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting.

14 years agoMerge change Ic997acac into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 16:27:03 +0000 (11:27 -0500)]
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).

14 years agodo not merge -- original checkin to mr2 here:
Cary Clark [Thu, 15 Oct 2009 19:29:08 +0000 (15:29 -0400)]
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

14 years agoam 8b1243e5: jni: GpsLocationProvider: Check for pending callbacks before waiting
Jared Suttles [Fri, 6 Nov 2009 14:31:37 +0000 (06:31 -0800)]
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

14 years agoam 0d72f7e9: Fix a race condition that could result in the screen being forced off...
Mike Lockwood [Fri, 6 Nov 2009 13:35:04 +0000 (05:35 -0800)]
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.

14 years agojni: GpsLocationProvider: Check for pending callbacks before waiting
Jared Suttles [Wed, 4 Nov 2009 22:53:44 +0000 (16:53 -0600)]
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>
14 years agoFix a race condition that could result in the screen being forced off indefinitely...
Mike Lockwood [Fri, 6 Nov 2009 01:53:00 +0000 (20:53 -0500)]
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>
14 years agoam 092f0341: Merge change I44d4cbec into eclair
jsh [Fri, 6 Nov 2009 08:23:13 +0000 (00:23 -0800)]
am 092f0341: Merge change I44d4cbec into eclair

Merge commit '092f03418a4988e4da706dca27128327b5a5fc55' into eclair-mr2

* commit '092f03418a4988e4da706dca27128327b5a5fc55':
  Fix some SMS encode issues.

14 years agoam bf50200b: Merge change Ic9568e39 into eclair
Suchi Amalapurapu [Fri, 6 Nov 2009 08:23:03 +0000 (00:23 -0800)]
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.

14 years agoresolved conflicts for merge of 84872738 to eclair-mr2
Jack Palevich [Fri, 6 Nov 2009 08:13:38 +0000 (00:13 -0800)]
resolved conflicts for merge of 84872738 to eclair-mr2

14 years agoMerge change I44d4cbec into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 08:07:01 +0000 (03:07 -0500)]
Merge change I44d4cbec into eclair

* changes:
  Fix some SMS encode issues.

14 years agoFix some SMS encode issues.
jsh [Fri, 6 Nov 2009 01:00:15 +0000 (17:00 -0800)]
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)

14 years agoMerge change Ic9568e39 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 07:12:40 +0000 (02:12 -0500)]
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.

14 years agoMerge change I971f6fd3 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 06:23:52 +0000 (01:23 -0500)]
Merge change I971f6fd3 into eclair

* changes:
  Improve GLSurfaceView to avoid deadlocks and race conditions.

14 years agoam 13bf8260: Fix SDK build: a few things missing, a link that was wrong.
Dianne Hackborn [Fri, 6 Nov 2009 05:57:51 +0000 (21:57 -0800)]
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.

14 years agoFix SDK build: a few things missing, a link that was wrong.
Dianne Hackborn [Fri, 6 Nov 2009 05:45:51 +0000 (21:45 -0800)]
Fix SDK build: a few things missing, a link that was wrong.

Change-Id: I55c9c510b3f0866ce6085927afa00b9fb69dd8c5

14 years agoam 274b120f: Fix issue #2243096: Need to expose live wallpaper APIs in SDK
Dianne Hackborn [Fri, 6 Nov 2009 04:41:50 +0000 (20:41 -0800)]
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

14 years agoFix issue #2243096: Need to expose live wallpaper APIs in SDK
Dianne Hackborn [Fri, 6 Nov 2009 01:52:19 +0000 (17:52 -0800)]
Fix issue #2243096: Need to expose live wallpaper APIs in SDK

Change-Id: I7e996bf549922c1bb8e8c00d051650ffe12d818c

14 years agoam c3f3f9a9: Merge change Ie71d9e42 into eclair
Joe Onorato [Fri, 6 Nov 2009 04:28:10 +0000 (20:28 -0800)]
am c3f3f9a9: Merge change Ie71d9e42 into eclair

Merge commit 'c3f3f9a90b7d7f8a9665df9c194cff81d0d1782c' into eclair-mr2

* commit 'c3f3f9a90b7d7f8a9665df9c194cff81d0d1782c':
  Another test for StatusBar test.

14 years agoam 1d5b3a63: Fix the build
Romain Guy [Fri, 6 Nov 2009 04:27:53 +0000 (20:27 -0800)]
am 1d5b3a63: Fix the build

Merge commit '1d5b3a631cfcbfd2ea264f29a11a1366a16593b0' into eclair-mr2

* commit '1d5b3a631cfcbfd2ea264f29a11a1366a16593b0':
  Fix the build

14 years agoam 9ce3df55: Merge change I2c6e54e4 into eclair
Mike Lockwood [Fri, 6 Nov 2009 04:26:44 +0000 (20:26 -0800)]
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.

14 years agoAdd UPDATE_ACTION to Gservices, used by the new checkin service.
Dan Egnor [Fri, 6 Nov 2009 04:08:22 +0000 (20:08 -0800)]
Add UPDATE_ACTION to Gservices, used by the new checkin service.

14 years agoMerge change Ic1d72f56 into eclair-mr2
Android (Google) Code Review [Fri, 6 Nov 2009 04:07:33 +0000 (23:07 -0500)]
Merge change Ic1d72f56 into eclair-mr2

* changes:
  Make createThumbnailFromEXIF prefer choosing a thumbnail from the exif to from the full image, if both can generate of a thumbnail of same size.

14 years agoMake createThumbnailFromEXIF prefer choosing a thumbnail from the exif
Wei-Ta Chen [Fri, 6 Nov 2009 03:56:52 +0000 (11:56 +0800)]
Make createThumbnailFromEXIF prefer choosing a thumbnail from the exif
to from the full image, if both can generate of a thumbnail of same size.

14 years agoMerge change Ie71d9e42 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 03:20:02 +0000 (22:20 -0500)]
Merge change Ie71d9e42 into eclair

* changes:
  Another test for StatusBar test.

14 years agoWhen tasks are moved to top or bottom, the app tokens are being rearranged.
Suchi Amalapurapu [Fri, 6 Nov 2009 02:51:16 +0000 (18:51 -0800)]
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.

14 years agoam 09263e1b: Merge change Id0267cc0 into eclair
Wink Saville [Fri, 6 Nov 2009 03:10:43 +0000 (19:10 -0800)]
am 09263e1b: Merge change Id0267cc0 into eclair

Merge commit '09263e1bc0f8f783b24b92643d4ccda87966d01f' into eclair-mr2

* commit '09263e1bc0f8f783b24b92643d4ccda87966d01f':
  Add needsOtaServiceProvisioning and used to not allow

14 years agoam 1e495da1: Merge change I4b03c2cd into eclair
James Dong [Fri, 6 Nov 2009 03:09:58 +0000 (19:09 -0800)]
am 1e495da1: Merge change I4b03c2cd into eclair

Merge commit '1e495da19f3f0061de38821a4ac733dca833b3eb' into eclair-mr2

* commit '1e495da19f3f0061de38821a4ac733dca833b3eb':
  Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java

14 years agoFix the build
Romain Guy [Fri, 6 Nov 2009 02:44:12 +0000 (18:44 -0800)]
Fix the build

Change-Id: Id7514858594772ab79c0f3db745b00f0bb59218b

14 years agoImprove GLSurfaceView to avoid deadlocks and race conditions.
Jack Palevich [Fri, 6 Nov 2009 02:21:46 +0000 (10:21 +0800)]
Improve GLSurfaceView to avoid deadlocks and race conditions.

This is work towards fixing bug 2228262

Specific issues fixed by this change:

+ GLThread names now include the thread id, making it easier to tell one
GLThread from another.

+ A private final static boolean LOG_THREADS can be set to true at compile
time to print out thread-related trace information, helpful for debugging
GLSurfaceView behavior. This static defaults to "false".

+ Changed calls to "notify" to "notifyAll" to make the code more
robust in case more than two threads are blocked on the same monitor.

+ Add a GLThreadManager to help manage the transition to
a new GLThread. Currently only one GLThread can be active in an address
space. When the second thread starts up, the GLThreadManager helps the old
GLThread to shut down,

+ Make sure we stop waiting for dead GLThreads. This is done by adding
checks for a variable mDone being true to our monitor wait loops. And
we use a "finally" clause at the end of GLThread.run() method to set mDone
and notifyAll any wait loops.

14 years agoMerge change I2c6e54e4 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 01:29:54 +0000 (20:29 -0500)]
Merge change I2c6e54e4 into eclair

* changes:
  Throttle proximity sensor values so we do not process more than one change a second.

14 years agoMake AudioPlayer a little less verbose, defer starting audio playback until after...
Andreas Huber [Fri, 6 Nov 2009 00:34:39 +0000 (16:34 -0800)]
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).

14 years agoMerge change Id0267cc0 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 00:25:11 +0000 (19:25 -0500)]
Merge change Id0267cc0 into eclair

* changes:
  Add needsOtaServiceProvisioning and used to not allow data calls until the device is provisioned.

14 years agoMerge change I4b03c2cd into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 00:15:56 +0000 (19:15 -0500)]
Merge change I4b03c2cd into eclair

* changes:
  Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java

14 years agoam d94ed379: Merge change I1dc2ae28 into eclair
Jean-Michel Trivi [Fri, 6 Nov 2009 00:10:32 +0000 (16:10 -0800)]
am d94ed379: Merge change I1dc2ae28 into eclair

Merge commit 'd94ed3794c68b93ac9faa357bb3517f4fae88162' into eclair-mr2

* commit 'd94ed3794c68b93ac9faa357bb3517f4fae88162':
  Fix bug 2242585 to unhide the new audio recording sources.

14 years agoMerge change I1dc2ae28 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 00:03:09 +0000 (19:03 -0500)]
Merge change I1dc2ae28 into eclair

* changes:
  Fix bug 2242585 to unhide the new audio recording sources. Unhide CAMCORDER and VOICE_RECOGNITION in android.media.MediaRecorder

14 years agoFix bug 2242585 to unhide the new audio recording sources.
Jean-Michel Trivi [Thu, 5 Nov 2009 23:49:37 +0000 (15:49 -0800)]
Fix bug 2242585 to unhide the new audio recording sources.
Unhide CAMCORDER and VOICE_RECOGNITION in android.media.MediaRecorder

14 years agoam f20e9a88: Merge change Idf40f3b0 into eclair
Romain Guy [Thu, 5 Nov 2009 23:47:43 +0000 (15:47 -0800)]
am f20e9a88: Merge change Idf40f3b0 into eclair

Merge commit 'f20e9a88a36ced533e96b8873a3321b4d51585ca' into eclair-mr2

* commit 'f20e9a88a36ced533e96b8873a3321b4d51585ca':
  Prevent crash in Home when using widgets whose ids collide with Home's

14 years agoam bfa68abc: layout test rebase, bug fix
Guang Zhu [Thu, 5 Nov 2009 23:47:32 +0000 (15:47 -0800)]
am bfa68abc: layout test rebase, bug fix

Merge commit 'bfa68abc955ed1fe6cf6d98e42f344a8d623fab7' into eclair-mr2

* commit 'bfa68abc955ed1fe6cf6d98e42f344a8d623fab7':
  layout test rebase, bug fix

14 years agoMerge change Idf40f3b0 into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 23:42:14 +0000 (18:42 -0500)]
Merge change Idf40f3b0 into eclair

* changes:
  Prevent crash in Home when using widgets whose ids collide with Home's resources.

14 years agoPrevent crash in Home when using widgets whose ids collide with Home's
Romain Guy [Thu, 5 Nov 2009 21:36:15 +0000 (13:36 -0800)]
Prevent crash in Home when using widgets whose ids collide with Home's
resources.

Bug #2228943.

Approved by mcleron, triaged by ryanpc.

Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2

14 years agoam 902051df: Merge change I0e27b5ca into eclair
Jason Sams [Thu, 5 Nov 2009 23:39:51 +0000 (15:39 -0800)]
am 902051df: Merge change I0e27b5ca into eclair

Merge commit '902051dfa7590f8b2c22eb0a46df80f1bf19a087' into eclair-mr2

* commit '902051dfa7590f8b2c22eb0a46df80f1bf19a087':
  Fix texture upload bug for narrow texture of less than 32bpp.

14 years agoam 8de4e0ad: Merge change I21d0dca3 into eclair
Jaikumar Ganesh [Thu, 5 Nov 2009 23:39:40 +0000 (15:39 -0800)]
am 8de4e0ad: Merge change I21d0dca3 into eclair

Merge commit '8de4e0ad8ff39d9a397cd80de5155d4c09ef98fd' into eclair-mr2

* commit '8de4e0ad8ff39d9a397cd80de5155d4c09ef98fd':
  Add BMW kits made by Motorola PCS to autoblack list for Bluetooth.

14 years agolayout test rebase, bug fix
Guang Zhu [Thu, 5 Nov 2009 23:24:10 +0000 (15:24 -0800)]
layout test rebase, bug fix

* rebase layout test based on newly enabled http tests
* fix a bug in initializing parameters (should happen before super.onCreate)

14 years agoCalendar: add CALLER_IS_SYNCADAPTER parameter.
Ken Shirriff [Fri, 23 Oct 2009 16:50:41 +0000 (09:50 -0700)]
Calendar: add CALLER_IS_SYNCADAPTER parameter.

14 years agoMerge change I0e27b5ca into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 22:39:56 +0000 (17:39 -0500)]
Merge change I0e27b5ca into eclair

* changes:
  Fix texture upload bug for narrow texture of less than 32bpp.

14 years agoMerge change I21d0dca3 into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 22:15:51 +0000 (17:15 -0500)]
Merge change I21d0dca3 into eclair

* changes:
  Add BMW kits made by Motorola PCS to autoblack list for Bluetooth.

14 years agoAnother test for StatusBar test.
Joe Onorato [Thu, 5 Nov 2009 22:12:18 +0000 (17:12 -0500)]
Another test for StatusBar test.

14 years agoam 05eca1d4: (-s ours) Merge change Ie80e2381 into eclair
Andreas Huber [Thu, 5 Nov 2009 21:59:20 +0000 (13:59 -0800)]
am 05eca1d4: (-s ours) Merge change Ie80e2381 into eclair

Merge commit '05eca1d46a45723a57899dabad698537b7faef82' into eclair-mr2

* commit '05eca1d46a45723a57899dabad698537b7faef82':
  DO NOT MERGE: Squashed commit of the following:

14 years agoam 4ab2c777: Merge change I14fb81af into eclair
Amith Yamasani [Thu, 5 Nov 2009 21:55:33 +0000 (13:55 -0800)]
am 4ab2c777: Merge change I14fb81af into eclair

Merge commit '4ab2c7770c8e55072ee7a083fa84e318e07c8c3e' into eclair-mr2

* commit '4ab2c7770c8e55072ee7a083fa84e318e07c8c3e':
  Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn

14 years agoam 818a9cf8: Merge change Ia4eedace into eclair
Andreas Huber [Thu, 5 Nov 2009 21:55:19 +0000 (13:55 -0800)]
am 818a9cf8: Merge change Ia4eedace into eclair

Merge commit '818a9cf827f282addbf7c8ee23534e08a3aaa358' into eclair-mr2

* commit '818a9cf827f282addbf7c8ee23534e08a3aaa358':
  Now that UseBuffer on this component is fixed, let's use it.

14 years agoam eca41b31: Merge change Id1458b01 into eclair
Daniel Sandler [Thu, 5 Nov 2009 21:54:40 +0000 (13:54 -0800)]
am eca41b31: Merge change Id1458b01 into eclair

Merge commit 'eca41b31fb9a5202f755bfd9dbc4849dbb486137' into eclair-mr2

* commit 'eca41b31fb9a5202f755bfd9dbc4849dbb486137':
  New live wallpaper API to expose author and description strings.

14 years agoMerge change Ie80e2381 into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 21:50:34 +0000 (16:50 -0500)]
Merge change Ie80e2381 into eclair

* changes:
  DO NOT MERGE: Squashed commit of the following:

14 years agoThrottle proximity sensor values so we do not process more than one change a second.
Mike Lockwood [Thu, 5 Nov 2009 21:08:51 +0000 (16:08 -0500)]
Throttle proximity sensor values so we do not process more than one change a second.

This is to prevent a noisy proximity sensor from causing the screen to turn on and off
in rapid succession, which can trigger race conditions in the keyguard manager.

Change-Id: I2c6e54e4b41716e038854ed9a827c901579c8865
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I14fb81af into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 21:08:40 +0000 (16:08 -0500)]
Merge change I14fb81af into eclair

* changes:
  Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn

14 years agoDO NOT MERGE: Squashed commit of the following:
Andreas Huber [Thu, 5 Nov 2009 20:04:22 +0000 (12:04 -0800)]
DO NOT MERGE: Squashed commit of the following:

commit 08259dd3dc9026887f9bbfedaf45866eb56ea9bc
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 12:02:31 2009 -0800

    DO NOT MERGE: Use PV for metadata extraction even if stagefright is used for playback.

commit 991832fe4dc012e51d3d9ed8d647c7f09991858f
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:24:11 2009 -0800

    DO NOT MERGE: Do not assert if we encounter OMX_StateInvalid. All bets are off though.

commit cec45cf302d9218fe79956cbe8a462d7ca3a10bb
Author: Andreas Huber <andih@google.com>
Date:   Mon Oct 26 16:11:54 2009 -0700

    DO NOT MERGE: When freeing an OMX node, attempt to transition it from its current state all the way to "Loaded" in order to properly free any allocated buffers.

commit 34a1e885ef9113d68acbc26d36fcc47fdebbed84
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:10:49 2009 -0800

    DO NOT MERGE: Fix heap corruptin in OMXNodeInstance.

commit 5a47f7439a1298b330541a7e4e647a8b44487388
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:08:19 2009 -0800

    DO NOT MERGE: Fix seek-on-initial-read behaviour of OMXCodec.

commit 45bed64722501b9f411a2940aff5aff4cc4d2e98
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:02:23 2009 -0800

    DO NOT MERGE: Renaming string.h to stagefright_string.h to avoid conflicts.

commit 6738e306a50196f31a73d4fc7b7c45faff639903
Author: Andreas Huber <andih@google.com>
Date:   Thu Oct 15 13:46:54 2009 -0700

    DO NOT MERGE: Reimplement the OMX backend for stagefright.

    Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup.

    Changed APIs to conform to the rest of the system.

14 years agoMerge change Ia4eedace into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 21:01:50 +0000 (16:01 -0500)]
Merge change Ia4eedace into eclair

* changes:
  Now that UseBuffer on this component is fixed, let's use it.

14 years agoMerge change Id1458b01 into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 20:53:25 +0000 (15:53 -0500)]
Merge change Id1458b01 into eclair

* changes:
  New live wallpaper API to expose author and description strings.

14 years agoFix texture upload bug for narrow texture of less than 32bpp.
Jason Sams [Thu, 5 Nov 2009 20:44:58 +0000 (12:44 -0800)]
Fix texture upload bug for narrow texture of less than 32bpp.

14 years agoNew API 4 with new CDMA constants.
Xavier Ducrohet [Wed, 4 Nov 2009 02:20:53 +0000 (18:20 -0800)]
New API 4 with new CDMA constants.

14 years agoNew live wallpaper API to expose author and description strings.
Daniel Sandler [Thu, 5 Nov 2009 20:05:27 +0000 (15:05 -0500)]
New live wallpaper API to expose author and description strings.

First in a sequence of CLs to address
http://b/issue?id=2235307 .

Change-Id: Id1458b01c8a7918f345823b45e5726e02285d8b5

14 years agoresolved conflicts for merge of f476c480 to eclair-mr2
Fred Quintana [Thu, 5 Nov 2009 19:46:11 +0000 (11:46 -0800)]
resolved conflicts for merge of f476c480 to eclair-mr2

14 years agoFix for 2221718: Hang in BatteryStatsService.noteBluetoothOn
Amith Yamasani [Thu, 5 Nov 2009 19:41:58 +0000 (11:41 -0800)]
Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn

This should remove the deadlock. I'm not absolutely positive that
it fixes it, as it's not easy to reproduce.

14 years agoAdd BMW kits made by Motorola PCS to autoblack list for Bluetooth.
Jaikumar Ganesh [Thu, 5 Nov 2009 19:27:28 +0000 (11:27 -0800)]
Add BMW kits made by Motorola PCS to autoblack list for Bluetooth.

This may force some Motorola headsets to thow up the Pairing Request.

Bug: 2210365
Dr No: Eastham

14 years agoMerge change I48cbd0bc into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 19:15:54 +0000 (14:15 -0500)]
Merge change I48cbd0bc into eclair

* changes:
  remove the SubscribedFeedsProvider since it has been moved to vendor/google

14 years agoNow that UseBuffer on this component is fixed, let's use it.
Andreas Huber [Thu, 5 Nov 2009 17:56:03 +0000 (09:56 -0800)]
Now that UseBuffer on this component is fixed, let's use it.

14 years agoMerge change I272af007 into eclair-mr2
Android (Google) Code Review [Thu, 5 Nov 2009 17:53:34 +0000 (12:53 -0500)]
Merge change I272af007 into eclair-mr2

* changes:
  a possible fix for the bug http://b/issue?id=2200637

14 years agoMerge change I7f9db307 into eclair-mr2
Android (Google) Code Review [Thu, 5 Nov 2009 09:49:46 +0000 (04:49 -0500)]
Merge change I7f9db307 into eclair-mr2

* changes:
  Modify the behavior of createThumbnailForEXIF() to: returning SizedThumbnailBitmap, which contains the downsampled bitmap either from the thumbnail in EXIF or the full image.

14 years agoModify the behavior of createThumbnailForEXIF() to:
Wei-Ta Chen [Thu, 29 Oct 2009 12:51:57 +0000 (20:51 +0800)]
Modify the behavior of createThumbnailForEXIF() to:
returning SizedThumbnailBitmap, which contains the downsampled
bitmap either from the thumbnail in EXIF or the full image.

14 years agoam 67b69292: Merge change I93f500a5 into eclair
Eric Laurent [Thu, 5 Nov 2009 08:01:33 +0000 (00:01 -0800)]
am 67b69292: Merge change I93f500a5 into eclair

Merge commit '67b692920c18f99b096dce285adc6f7439fa866c' into eclair-mr2

* commit '67b692920c18f99b096dce285adc6f7439fa866c':
  Fix issue 2203561: Sholes: audio playing out of earpiece.

14 years agoMerge change I93f500a5 into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 07:55:26 +0000 (02:55 -0500)]
Merge change I93f500a5 into eclair

* changes:
  Fix issue 2203561: Sholes: audio playing out of earpiece.

14 years agoFix issue 2203561: Sholes: audio playing out of earpiece.
Eric Laurent [Wed, 4 Nov 2009 16:27:26 +0000 (08:27 -0800)]
Fix issue 2203561: Sholes: audio playing out of earpiece.

Create a new IAudioTrack interface to AudioFlinger when start() fails due to a broken pipe error.
Do the same if start fails due to the same error after time out in obtainBuffer().
Do not indicate that the AudioTrack is started to AudioPolicyManager if IAudioTrack start fails.
This avoids that an AudioTrack keeps a dead IAudioTrack after a media server crash.

Same modifications for AudioRecord.

Add a flag to ToneGenerator indicating that the callback thread can call Java. Without it, when the media server crashes and restarts, the AudioSystem error callback will crash in JNI if the IAudiotrack is created from AudioTrack callback thread.

14 years agoAdd windows media support check in MediaMetadataTest.java and MediaPlayerApiTest...
James Dong [Wed, 4 Nov 2009 02:02:30 +0000 (18:02 -0800)]
Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java

14 years agoMerge change I0d442f0d into eclair-mr2
Android (Google) Code Review [Thu, 5 Nov 2009 04:49:46 +0000 (23:49 -0500)]
Merge change I0d442f0d into eclair-mr2

* changes:
  Add tests for Japanization part of vCard.

14 years agoAdd tests for Japanization part of vCard.
Daisuke Miyakawa [Thu, 5 Nov 2009 04:41:24 +0000 (13:41 +0900)]
Add tests for Japanization part of vCard.

Fix several bugs around name construction.

Internal issue number: 2195990

14 years agoam 584bce31: Merge change I09282f5b into eclair
Romain Guy [Thu, 5 Nov 2009 02:40:38 +0000 (18:40 -0800)]
am 584bce31: Merge change I09282f5b into eclair

Merge commit '584bce31b62cdf3efd8a9eb40442c4cc612ce1e6' into eclair-mr2

* commit '584bce31b62cdf3efd8a9eb40442c4cc612ce1e6':
  Fix the build (hopefully.)

14 years agoMerge change I09282f5b into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 02:33:27 +0000 (21:33 -0500)]
Merge change I09282f5b into eclair

* changes:
  Fix the build (hopefully.)

14 years agoFix the build (hopefully.)
Romain Guy [Thu, 5 Nov 2009 02:32:48 +0000 (18:32 -0800)]
Fix the build (hopefully.)

Change-Id: I09282f5b4ff8b97f6beb1073223d8a943d3ecef4

14 years agoam 61b01632: Merge change I9490271c into eclair
Nick Pelly [Thu, 5 Nov 2009 01:37:07 +0000 (17:37 -0800)]
am 61b01632: Merge change I9490271c into eclair

Merge commit '61b01632915181fcf725dc4933cad8c81e700115' into eclair-mr2

* commit '61b01632915181fcf725dc4933cad8c81e700115':
  Add BluetoothDevice to SDK AIDL list.

14 years agoam 62335430: Merge change I4499ad72 into eclair
Eric Olsen [Thu, 5 Nov 2009 01:36:59 +0000 (17:36 -0800)]
am 62335430: Merge change I4499ad72 into eclair

Merge commit '62335430b05d92ad2255bf20b76b35e012b385c9' into eclair-mr2

* commit '62335430b05d92ad2255bf20b76b35e012b385c9':
  Fix bad merge fixes build breakage.

14 years agoam 131564d2: Merge change I3bbfb4f9 into eclair
Romain Guy [Thu, 5 Nov 2009 01:36:46 +0000 (17:36 -0800)]
am 131564d2: Merge change I3bbfb4f9 into eclair

Merge commit '131564d26ac5b7f963c60802089b9fe1472659f7' into eclair-mr2

* commit '131564d26ac5b7f963c60802089b9fe1472659f7':
  Remove unused field and add new API to control the children drawing order.

14 years agoMerge change I9490271c into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 01:32:00 +0000 (20:32 -0500)]
Merge change I9490271c into eclair

* changes:
  Add BluetoothDevice to SDK AIDL list.

14 years agoMerge change I4499ad72 into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 01:27:11 +0000 (20:27 -0500)]
Merge change I4499ad72 into eclair

* changes:
  Fix bad merge fixes build breakage.

14 years agoAdd BluetoothDevice to SDK AIDL list.
Nick Pelly [Thu, 5 Nov 2009 01:23:55 +0000 (17:23 -0800)]
Add BluetoothDevice to SDK AIDL list.

Bug: 2216702
Change-Id: I9490271ce4be465d5b3acc5e530feaf6e2fa3f57

14 years agoFix bad merge fixes build breakage.
Eric Olsen [Thu, 5 Nov 2009 01:11:53 +0000 (17:11 -0800)]
Fix bad merge fixes build breakage.

Signed-off-by: Eric Olsen <eolsen@android.com>
14 years agoMerge change I3bbfb4f9 into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 00:58:00 +0000 (19:58 -0500)]
Merge change I3bbfb4f9 into eclair

* changes:
  Remove unused field and add new API to control the children drawing order.