OSDN Git Service

android-x86/frameworks-base.git
14 years agoam 7c12540f: Merge change Ibd2197fb into eclair
Jason Sams [Thu, 8 Oct 2009 01:24:09 +0000 (18:24 -0700)]
am 7c12540f: Merge change Ibd2197fb into eclair

Merge commit '7c12540f09659dec0a4222831ed7e5ab8d7b0cdf' into eclair-mr2

* commit '7c12540f09659dec0a4222831ed7e5ab8d7b0cdf':
  Add script to script call support.  Add exception to catch out of bound index data when added to TriangleMeshBuilder.

14 years agoam 9af53ea6: am 3161795b: when logging free space on /data, log /system and /cache...
Doug Zongker [Thu, 8 Oct 2009 01:24:03 +0000 (18:24 -0700)]
am 9af53ea6: am 3161795b: when logging free space on /data, log /system and /cache as well

Merge commit '9af53ea6ef9a986bc65bcd11deb7994f1f4ba8ec' into eclair-mr2

* commit '9af53ea6ef9a986bc65bcd11deb7994f1f4ba8ec':
  when logging free space on /data, log /system and /cache as well

14 years agoam 4ff6d01d: Merge change I46b2df15 into eclair
Mathias Agopian [Thu, 8 Oct 2009 01:18:56 +0000 (18:18 -0700)]
am 4ff6d01d: Merge change I46b2df15 into eclair

Merge commit '4ff6d01d42fce2dc52b2dec8f59b625b18770bb0' into eclair-mr2

* commit '4ff6d01d42fce2dc52b2dec8f59b625b18770bb0':
  fix [2164183] sometimes device just wants to stay asleep

14 years agoam c7141303: Merge change Id23b791a into eclair
Mathias Agopian [Thu, 8 Oct 2009 01:18:50 +0000 (18:18 -0700)]
am c7141303: Merge change Id23b791a into eclair

Merge commit 'c71413032e1ad1f166861a980d8547d4106f7fa0' into eclair-mr2

* commit 'c71413032e1ad1f166861a980d8547d4106f7fa0':
  fix [2170283] SurfaceFlinger crashes on OOM.

14 years agoMerge change Ibd2197fb into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 01:18:01 +0000 (21:18 -0400)]
Merge change Ibd2197fb into eclair

* changes:
  Add script to script call support.  Add exception to catch out of bound index data when added to TriangleMeshBuilder.

14 years agoam 3161795b: when logging free space on /data, log /system and /cache as well
Doug Zongker [Thu, 8 Oct 2009 01:17:06 +0000 (18:17 -0700)]
am 3161795b: when logging free space on /data, log /system and /cache as well

Merge commit '3161795b2353171bb0636fb3ea6dab7dec80a4f4' into eclair

* commit '3161795b2353171bb0636fb3ea6dab7dec80a4f4':
  when logging free space on /data, log /system and /cache as well

14 years agoAdd script to script call support. Add exception to catch out of bound index data...
Jason Sams [Thu, 8 Oct 2009 01:14:01 +0000 (18:14 -0700)]
Add script to script call support.  Add exception to catch out of bound index data when added to TriangleMeshBuilder.

14 years agoMerge change I46b2df15 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 01:09:49 +0000 (21:09 -0400)]
Merge change I46b2df15 into eclair

* changes:
  fix [2164183] sometimes device just wants to stay asleep

14 years agoMerge change Id23b791a into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 01:07:05 +0000 (21:07 -0400)]
Merge change Id23b791a into eclair

* changes:
  fix [2170283] SurfaceFlinger crashes on OOM.

14 years agofix [2170283] SurfaceFlinger crashes on OOM.
Mathias Agopian [Tue, 6 Oct 2009 22:58:44 +0000 (15:58 -0700)]
fix [2170283] SurfaceFlinger crashes on OOM.

when running out of memory, a null handle is returned but the error code may not be set.
In that case we need to return NO_MEMORY instead of NO_ERROR, so that the calling code
won't try to dereference the null pointer.

14 years agoMerge change I8f5e405f into eclair-mr2
Android (Google) Code Review [Thu, 8 Oct 2009 00:59:21 +0000 (20:59 -0400)]
Merge change I8f5e405f into eclair-mr2

* changes:
  mGeolocationDatabasePath needs to compare mGeolocationDatabasePath

14 years agofix [2164183] sometimes device just wants to stay asleep
Mathias Agopian [Thu, 8 Oct 2009 00:58:29 +0000 (17:58 -0700)]
fix [2164183] sometimes device just wants to stay asleep

When switching rapidily orientation back and forth, surfaces end-up
acquiring the freeze-lock when the first orientation change happens,
but never release it because by the time the 2nd orientation change
comes in, the surface size is back to its original size and
doesn't appear to have resized.

we now always release the freeze-lock when we receive a buffer of the
expected size.

14 years agoam 568cae57: Fix issue #2171460: Turn off background blurring of power dialog
Dianne Hackborn [Thu, 8 Oct 2009 00:45:14 +0000 (17:45 -0700)]
am 568cae57: Fix issue #2171460: Turn off background blurring of power dialog

Merge commit '568cae571a3d74d1992176a21722e07b44e9a3c4' into eclair-mr2

* commit '568cae571a3d74d1992176a21722e07b44e9a3c4':
  Fix issue #2171460: Turn off background blurring of power dialog

14 years agoFix issue #2171460: Turn off background blurring of power dialog
Dianne Hackborn [Wed, 7 Oct 2009 23:13:39 +0000 (16:13 -0700)]
Fix issue #2171460: Turn off background blurring of power dialog

Change-Id: I521629e0ccd0116acf149eeb7476c8474fc7c74a

14 years agoam a2de8e31: Merge change Ie05f07df into eclair
Mathias Agopian [Thu, 8 Oct 2009 00:33:43 +0000 (17:33 -0700)]
am a2de8e31: Merge change Ie05f07df into eclair

Merge commit 'a2de8e31c2693d009db1f9386406758874dd1d40' into eclair-mr2

* commit 'a2de8e31c2693d009db1f9386406758874dd1d40':
  fix [2170319] gmail bulk operation checkbox latency on passion

14 years agoMerge change Ie05f07df into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 00:25:08 +0000 (20:25 -0400)]
Merge change Ie05f07df into eclair

* changes:
  fix [2170319] gmail bulk operation checkbox latency on passion

14 years agowhen logging free space on /data, log /system and /cache as well
Doug Zongker [Wed, 7 Oct 2009 22:14:03 +0000 (15:14 -0700)]
when logging free space on /data, log /system and /cache as well

Report space free on system and cache so we can estimate bad block
statistics for devices in the field.

14 years agoam c15934f2: Merge change I7a57637b into eclair
Dmitri Plotnikov [Thu, 8 Oct 2009 00:07:26 +0000 (17:07 -0700)]
am c15934f2: Merge change I7a57637b into eclair

Merge commit 'c15934f26a235a8218f9f673ebf8227acccefff2' into eclair-mr2

* commit 'c15934f26a235a8218f9f673ebf8227acccefff2':
  [Issue 2165234] Removing nickname clusters: John/Jack and Patrick/Rick.

14 years agoMerge change I7a57637b into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 23:59:07 +0000 (19:59 -0400)]
Merge change I7a57637b into eclair

* changes:
  [Issue 2165234] Removing nickname clusters: John/Jack and Patrick/Rick.

14 years agofix [2170319] gmail bulk operation checkbox latency on passion
Mathias Agopian [Wed, 7 Oct 2009 23:44:10 +0000 (16:44 -0700)]
fix [2170319] gmail bulk operation checkbox latency on passion

This also fixes [2152536] ANR in browser

When SF is enqueuing buffers faster than SF dequeues them.
The update flag in SF is not counted and under some situations SF will only
dequeue the first buffer. The state at this point is not technically
corrupted, it's valid, but just delayed by one buffer.

In the case of the Browser ANR, because the last enqueued buffer was delayed
the resizing of the current buffer couldn't happen.

The system would always fall back onto its feet if anything -else- in
tried to draw, because the "late" buffer would be picked up then.

14 years agoam 7a865a5d: Merge change Ieed8be00 into eclair
Nick Pelly [Wed, 7 Oct 2009 23:36:15 +0000 (16:36 -0700)]
am 7a865a5d: Merge change Ieed8be00 into eclair

Merge commit '7a865a5de8214aa4975371b9d8a2165a01f6b69c' into eclair-mr2

* commit '7a865a5de8214aa4975371b9d8a2165a01f6b69c':
  Introduce BluetoothAdapter.getDefaultAdapter().

14 years agoMerge change Ieed8be00 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 23:26:59 +0000 (19:26 -0400)]
Merge change Ieed8be00 into eclair

* changes:
  Introduce BluetoothAdapter.getDefaultAdapter().

14 years ago[Issue 2165234] Removing nickname clusters: John/Jack and Patrick/Rick.
Dmitri Plotnikov [Wed, 7 Oct 2009 00:57:16 +0000 (17:57 -0700)]
[Issue 2165234] Removing nickname clusters: John/Jack and Patrick/Rick.

Also adding some nicknames from Mike Hearn's list.

Change-Id: I7a57637bbdc267816e5e063fce4d2ac6a3136284

14 years agoIntroduce BluetoothAdapter.getDefaultAdapter().
Nick Pelly [Wed, 7 Oct 2009 22:12:45 +0000 (00:12 +0200)]
Introduce BluetoothAdapter.getDefaultAdapter().

This is the main entry point to the Bluetooth APIs, and returns the default
local Bluetooth adapter.

It replaces context.getSystemService(Context.BLUETOOTH_SERVICE). This was
never in a public SDK release.

DrNo: eastham
Bug: 2158765
Joke: Why can't you play cards in the jungle? Because there's too many cheetas!
Change-Id: Ieed8be009ee5aba621cb69090ee8c8a9c19c840d

14 years agoam dc2ccb82: Merge change Ia4879943 into eclair
Nick Pelly [Wed, 7 Oct 2009 22:12:26 +0000 (15:12 -0700)]
am dc2ccb82: Merge change Ia4879943 into eclair

Merge commit 'dc2ccb82f96b6a7be7a7b262b81d3aa1422f46fa' into eclair-mr2

* commit 'dc2ccb82f96b6a7be7a7b262b81d3aa1422f46fa':
  Encourage developers to connect RFCOMM by UUID instead of Channel.

14 years agoMerge change Ia4879943 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 22:04:45 +0000 (18:04 -0400)]
Merge change Ia4879943 into eclair

* changes:
  Encourage developers to connect RFCOMM by UUID instead of Channel.

14 years agoam 35b38cef: Improve drawing cache speed by selecting the correct opacity and keeping...
Romain Guy [Wed, 7 Oct 2009 21:30:41 +0000 (14:30 -0700)]
am 35b38cef: Improve drawing cache speed by selecting the correct opacity and keeping a 32 bits format when the window is 32 bits.

Merge commit '35b38cefcc92f1ed599a652ac5736ab9e9e75039' into eclair-mr2

* commit '35b38cefcc92f1ed599a652ac5736ab9e9e75039':
  Improve drawing cache speed by selecting the correct opacity and keeping a 32 bits

14 years agoEncourage developers to connect RFCOMM by UUID instead of Channel.
Nick Pelly [Wed, 7 Oct 2009 05:44:03 +0000 (07:44 +0200)]
Encourage developers to connect RFCOMM by UUID instead of Channel.

Hide createRfcommSocket(int channel)
Add createRfcommSocketWithServiceRecord(UUID uuid)

Rename listenUsingRfcomm(String,UUID) -> listenUsingRfcommWithServiceRecord(..)

Now we have a complete API for developers to make peer-peer RFCOMM connections
with hard-coding the limited (30) RFCOMM channels, instead using SDP lookup
of an UUID.

This commit addresses two serious bugs:
- Do not throw IOException on accepting an incoming RFCOMM connection with
  BluetoothSocket. This was a regression from commit 24bb9b8af4ff6915
- Workaround failure of bluez to update SDP cache when channel changes by
  trying to use the same RFCOMM channel on the server every time, instead
  of picking server channels randomly. This is a pretty ugly workaround,
  and we are still trying to fix the caching issue - but with this
  workaround we are at least shippable and apps will work at least until
  they start colliding on the 30 RFCOMM channels.

DrNo: eastham
Bug: 2158900
Joke: What did the digital watch say to his mom? "Look mom no hands."
Change-Id: Ia4879943b83afac06b6f1a3f2391cf1628afce7d

14 years agoImprove drawing cache speed by selecting the correct opacity and keeping a 32 bits
Romain Guy [Wed, 7 Oct 2009 20:38:55 +0000 (13:38 -0700)]
Improve drawing cache speed by selecting the correct opacity and keeping a 32 bits
format when the window is 32 bits.

Change-Id: I46762def67fa7d6a331a75fa8660c6422394ccf2

14 years agoMerge change I6c32aa75 into eclair-mr2
Android (Google) Code Review [Wed, 7 Oct 2009 20:54:30 +0000 (16:54 -0400)]
Merge change I6c32aa75 into eclair-mr2

* changes:
  Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height.

14 years agoWorkaround for avc decoder misreporting output buffer size requirements if the conten...
Andreas Huber [Wed, 7 Oct 2009 20:36:52 +0000 (13:36 -0700)]
Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height.

14 years agoam 64dd5be5: Merge change Ia78b0a2d into eclair
Mike Reed [Wed, 7 Oct 2009 19:33:47 +0000 (12:33 -0700)]
am 64dd5be5: Merge change Ia78b0a2d into eclair

Merge commit '64dd5be583bab8218e54068bbf70edc5fc6087c8' into eclair-mr2

* commit '64dd5be583bab8218e54068bbf70edc5fc6087c8':
  add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque.

14 years agoMerge change Ia78b0a2d into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 19:22:50 +0000 (15:22 -0400)]
Merge change Ia78b0a2d into eclair

* changes:
  add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque.

14 years agoMerge change Ia98129b9 into eclair-mr2
Android (Google) Code Review [Wed, 7 Oct 2009 19:01:25 +0000 (15:01 -0400)]
Merge change Ia98129b9 into eclair-mr2

* changes:
  Fix preference caching to increase recycling of preference views.

14 years agoam e4b6639d: (-s ours) Merge change I9db1edea into eclair
Eric Fischer [Wed, 7 Oct 2009 18:41:26 +0000 (11:41 -0700)]
am e4b6639d: (-s ours) Merge change I9db1edea into eclair

Merge commit 'e4b6639dbcfe9c5a429fb6f216790d69d1b3a6e8' into eclair-mr2

* commit 'e4b6639dbcfe9c5a429fb6f216790d69d1b3a6e8':
  Import revised translations.   DO NOT MERGE

14 years agoam 0c3154d3: Fix issue #2163654: deadlock, runtime restart
Dianne Hackborn [Wed, 7 Oct 2009 18:41:19 +0000 (11:41 -0700)]
am 0c3154d3: Fix issue #2163654: deadlock, runtime restart

Merge commit '0c3154d3fc54a1b3d8358a2932042cca729327b9' into eclair-mr2

* commit '0c3154d3fc54a1b3d8358a2932042cca729327b9':
  Fix issue #2163654: deadlock, runtime restart

14 years agoadd (hidden) setHasAlpha() to allow clients like the view's cache to hint that a...
Mike Reed [Wed, 7 Oct 2009 18:38:05 +0000 (11:38 -0700)]
add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque.

Knowing that a 32bit bitmap is opaque is a performance boost for some blits.

14 years agoMerge change I9db1edea into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 18:36:15 +0000 (14:36 -0400)]
Merge change I9db1edea into eclair

* changes:
  Import revised translations.   DO NOT MERGE

14 years agoMerge change Ib8f16340 into eclair-mr2
Android (Google) Code Review [Wed, 7 Oct 2009 18:36:07 +0000 (14:36 -0400)]
Merge change Ib8f16340 into eclair-mr2

* changes:
  Fix ConnectivityManager permissions check.

14 years agoFix issue #2163654: deadlock, runtime restart
Dianne Hackborn [Wed, 7 Oct 2009 00:18:05 +0000 (17:18 -0700)]
Fix issue #2163654: deadlock, runtime restart

Don't hold a lock when the activity thread is telling the activity manager
to release a provider.

This requires that the activity manager now keep a reference count on the
providers, because without the lock it is possible for activity thread to
call in to request the provider again before it has finished telling
about the release.

Change-Id: I5f912903891f4edae85e28819d4e6f14b8f2e688

14 years agoreset webTextView size if focus bounds changes
Cary Clark [Tue, 6 Oct 2009 21:40:53 +0000 (17:40 -0400)]
reset webTextView size if focus bounds changes

When the focus bounds is changed by webkit, reflect that
change on the UI side in the WebTextView. On the WebCore
side, add the focus-changed state to the Draw record,
which is sent whenever a new picture is recorded.

On the WebView side, set a bit when receiving the Draw
record, and check that bit when the picture is first drawn.
This additional delay is required so that the bit isn't
checked until after the new nav cache is swapped in.

If the bit is set when the draw occurs, clear it, and
set up the WebTextView's bounds.

companion change in external/webkit
fixes http://b/issue?id=2118781

14 years agoam 4625758d: Merge change I2c5f1e76 into eclair
Bjorn Bringert [Wed, 7 Oct 2009 05:59:59 +0000 (22:59 -0700)]
am 4625758d: Merge change I2c5f1e76 into eclair

Merge commit '4625758d0b909ccfc9f40b707666b1b21e9e8ffd' into eclair-mr2

* commit '4625758d0b909ccfc9f40b707666b1b21e9e8ffd':
  Fix back button handling in ACTV

14 years agoMerge change I2c5f1e76 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 05:55:33 +0000 (01:55 -0400)]
Merge change I2c5f1e76 into eclair

* changes:
  Fix back button handling in ACTV

14 years agoam f038004f: changes from Sync Manager API Review: bug 2164262
Fred Quintana [Wed, 7 Oct 2009 05:55:12 +0000 (22:55 -0700)]
am f038004f: changes from Sync Manager API Review: bug 2164262

Merge commit 'f038004f4a5e4fab18df9c87573ba1e82790c30f' into eclair-mr2

* commit 'f038004f4a5e4fab18df9c87573ba1e82790c30f':
  changes from Sync Manager API Review: bug 2164262

14 years agoam 460b60c9: Revert "temporarily disable the use of glTexImage2D for sw buffers on...
Mathias Agopian [Wed, 7 Oct 2009 05:34:21 +0000 (22:34 -0700)]
am 460b60c9: Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

Merge commit '460b60c9b064ef02e9eaf56ecf2f266fd7c4089c' into eclair-mr2

* commit '460b60c9b064ef02e9eaf56ecf2f266fd7c4089c':
  Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

14 years agochanges from Sync Manager API Review: bug 2164262
Fred Quintana [Wed, 7 Oct 2009 00:05:58 +0000 (17:05 -0700)]
changes from Sync Manager API Review: bug 2164262

14 years agoRevert "temporarily disable the use of glTexImage2D for sw buffers on sholes."
Mathias Agopian [Wed, 7 Oct 2009 05:23:23 +0000 (22:23 -0700)]
Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

This reverts commit c131c5671965b69b0dee3e4afa3b3dd5e3c0c405.

Approved by Hiroshi

14 years agoam 773fd131: Merge change I3429f77a into eclair
Brett Chabot [Wed, 7 Oct 2009 02:42:08 +0000 (19:42 -0700)]
am 773fd131: Merge change I3429f77a into eclair

Merge commit '773fd13130948397cac5178e16d17975a06a738b' into eclair-mr2

* commit '773fd13130948397cac5178e16d17975a06a738b':
  Suppress flaky test HeapTest#testOomeLarge.

14 years agoMerge change I3429f77a into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 02:35:27 +0000 (22:35 -0400)]
Merge change I3429f77a into eclair

* changes:
  Suppress flaky test HeapTest#testOomeLarge.

14 years agoSuppress flaky test HeapTest#testOomeLarge.
Brett Chabot [Wed, 7 Oct 2009 02:13:31 +0000 (19:13 -0700)]
Suppress flaky test HeapTest#testOomeLarge.

BUG 2170975

14 years agoam 26fe45dc: Merge change I4961c959 into eclair
Mathias Agopian [Wed, 7 Oct 2009 02:18:06 +0000 (19:18 -0700)]
am 26fe45dc: Merge change I4961c959 into eclair

Merge commit '26fe45dcb3df12eda94d93f1473cd6a2f5f345c7' into eclair-mr2

* commit '26fe45dcb3df12eda94d93f1473cd6a2f5f345c7':
  fix [2152536] ANR in browser

14 years agoam 62443f5f: Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency...
Eric Laurent [Wed, 7 Oct 2009 02:18:00 +0000 (19:18 -0700)]
am 62443f5f: Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).

Merge commit '62443f5f4517ba17d911975e695f1ab75bfdbf77' into eclair-mr2

* commit '62443f5f4517ba17d911975e695f1ab75bfdbf77':
  Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).

14 years agoam c404ed2b: Fix failing unit test; the test was using a deprecated API making it...
Romain Guy [Wed, 7 Oct 2009 02:17:55 +0000 (19:17 -0700)]
am c404ed2b: Fix failing unit test; the test was using a deprecated API making it fail on WVGA devices.

Merge commit 'c404ed2be5d29c8932a3d69b53fea4653c9b868b' into eclair-mr2

* commit 'c404ed2be5d29c8932a3d69b53fea4653c9b868b':
  Fix failing unit test; the test was using a deprecated API making it fail on WVGA devices.

14 years agoam c131c567: temporarily disable the use of glTexImage2D for sw buffers on sholes.
Mathias Agopian [Wed, 7 Oct 2009 02:17:49 +0000 (19:17 -0700)]
am c131c567: temporarily disable the use of glTexImage2D for sw buffers on sholes.

Merge commit 'c131c5671965b69b0dee3e4afa3b3dd5e3c0c405' into eclair-mr2

* commit 'c131c5671965b69b0dee3e4afa3b3dd5e3c0c405':
  temporarily disable the use of glTexImage2D for sw buffers on sholes.

14 years agoam 9d6a685b: Merge changes I430cf57b,I51f02f67,I464f13f3 into eclair
Mathias Agopian [Wed, 7 Oct 2009 02:17:44 +0000 (19:17 -0700)]
am 9d6a685b: Merge changes I430cf57b,I51f02f67,I464f13f3 into eclair

Merge commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb' into eclair-mr2

* commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb':
  fix [2168528] enable glTexImage2D code path in SF for software-only buffers
  fix [2168531] have software-only gralloc buffer side-step the HAL
  fix [2167050] glTexImage2D code path buggy in SurfaceFlinger

14 years agoam fe7c2a50: Merge change I996db8da into eclair
Jason Sams [Wed, 7 Oct 2009 02:17:38 +0000 (19:17 -0700)]
am fe7c2a50: Merge change I996db8da into eclair

Merge commit 'fe7c2a50148ac9f0d6fbe0030fc53f457c10870a' into eclair-mr2

* commit 'fe7c2a50148ac9f0d6fbe0030fc53f457c10870a':
  Fix tls crash on startup if more than one RS contexts are created in one process.

14 years agoMerge change I4961c959 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 02:10:17 +0000 (22:10 -0400)]
Merge change I4961c959 into eclair

* changes:
  fix [2152536] ANR in browser

14 years agofix [2152536] ANR in browser
Mathias Agopian [Wed, 7 Oct 2009 02:00:57 +0000 (19:00 -0700)]
fix [2152536] ANR in browser

A window is created and the browser is about to render into it the
very first time, at that point it does an IPC to SF to request a new
buffer. Meanwhile, the window manager removes that window from the
list and the shared memory block it uses is marked as invalid.
However, at that point, another window is created and is given the
same index (that just go freed), but a different identity and resets
the "invalid" bit in the shared block. When we go back to the buffer
allocation code, we're stuck because the surface we're allocating for
is gone and we don't detect it's invalid because the invalid bit has
been reset.

It is not sufficient to check for the invalid bit, I should
also check that identities match.

14 years agoFix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
Eric Laurent [Tue, 6 Oct 2009 03:29:18 +0000 (20:29 -0700)]
Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).

This change is a complement to the main fix in kernel driver for the same issue (partner change #1250).
It removes clicks sometimes heard after the end of the tones while audio flinger is sending 0s to the audio output stream.
The problem was that the sleep time between two writes was more than the duration of one audio output stream buffer which could cause some underrun.

Also fixed a recent regression in ToneGenerator that made that the end of previous tone was repeated at the beginning of current one under certain timing circumstances when the maximum tone duration was specified.

14 years agoFix failing unit test; the test was using a deprecated API making it fail on WVGA...
Romain Guy [Wed, 7 Oct 2009 01:38:27 +0000 (18:38 -0700)]
Fix failing unit test; the test was using a deprecated API making it fail on WVGA devices.

Change-Id: I407c7baa5606aaee875f51d6e96ce8a0117fc375

14 years agotemporarily disable the use of glTexImage2D for sw buffers on sholes.
Mathias Agopian [Wed, 7 Oct 2009 00:59:43 +0000 (17:59 -0700)]
temporarily disable the use of glTexImage2D for sw buffers on sholes.

we're going to first cut a build without this change.

Approved by Dr. Hiroshi.

14 years agoFix ConnectivityManager permissions check.
Robert Greenwalt [Wed, 7 Oct 2009 00:52:40 +0000 (17:52 -0700)]
Fix ConnectivityManager permissions check.

bug: 2160462

14 years agoMerge changes I430cf57b,I51f02f67,I464f13f3 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 00:46:37 +0000 (20:46 -0400)]
Merge changes I430cf57b,I51f02f67,I464f13f3 into eclair

* changes:
  fix [2168528] enable glTexImage2D code path in SF for software-only buffers
  fix [2168531] have software-only gralloc buffer side-step the HAL
  fix [2167050] glTexImage2D code path buggy in SurfaceFlinger

14 years agofix [2168528] enable glTexImage2D code path in SF for software-only buffers
Mathias Agopian [Tue, 6 Oct 2009 01:20:39 +0000 (18:20 -0700)]
fix [2168528] enable glTexImage2D code path in SF for software-only buffers

14 years agoMerge change I996db8da into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 00:18:40 +0000 (20:18 -0400)]
Merge change I996db8da into eclair

* changes:
  Fix tls crash on startup if more than one RS contexts are created in one process.

14 years agoFix tls crash on startup if more than one RS contexts are created in one process.
Jason Sams [Wed, 7 Oct 2009 00:16:55 +0000 (17:16 -0700)]
Fix tls crash on startup if more than one RS contexts are created in one process.

14 years agofix [2168531] have software-only gralloc buffer side-step the HAL
Mathias Agopian [Tue, 6 Oct 2009 01:19:57 +0000 (18:19 -0700)]
fix [2168531] have software-only gralloc buffer side-step the HAL

14 years agofix [2167050] glTexImage2D code path buggy in SurfaceFlinger
Mathias Agopian [Tue, 6 Oct 2009 00:07:12 +0000 (17:07 -0700)]
fix [2167050] glTexImage2D code path buggy in SurfaceFlinger

When EGLImage extension is not available, SurfaceFlinger will fallback to using
glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an
extra copy. However this code path has never been exercised and had some bugs
which this patch fix.

Mainly the scale factor wasn't computed right when falling back on glDrawElements.
We also fallback to this mode of operation if a buffer doesn't have the adequate
usage bits for EGLImage usage.

This changes only code that is currently not executed. Some refactoring was needed to
keep the change clean. This doesn't change anything functionaly.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 6 Oct 2009 23:51:57 +0000 (16:51 -0700)]
Import revised translations.   DO NOT MERGE

Approver: jerryw

14 years agoMerge change I6b51a98a into eclair-mr2
Android (Google) Code Review [Tue, 6 Oct 2009 23:32:25 +0000 (19:32 -0400)]
Merge change I6b51a98a into eclair-mr2

* changes:
  Fixed issue #4098: Ringtone#getTitle does not close its cursor.

14 years agoAdd group id to getThumbnail and cancelThumbnailRequest API.
Ray Chen [Mon, 5 Oct 2009 19:21:24 +0000 (12:21 -0700)]
Add group id to getThumbnail and cancelThumbnailRequest API.

14 years agoam 521f4f3a: Merge change I3d6cf8aa into eclair
gwang@google.com [Tue, 6 Oct 2009 22:40:42 +0000 (15:40 -0700)]
am 521f4f3a: Merge change I3d6cf8aa into eclair

Merge commit '521f4f3af94e3a093a37af887d3e317a526b61a1' into eclair-mr2

* commit '521f4f3af94e3a093a37af887d3e317a526b61a1':
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.

14 years agoam 5f9d4bae: layout lib tests cleanup
Xavier Ducrohet [Tue, 6 Oct 2009 22:40:37 +0000 (15:40 -0700)]
am 5f9d4bae: layout lib tests cleanup

Merge commit '5f9d4bae03b2dfa9c1e43a6e01cacaa5a5326690' into eclair-mr2

* commit '5f9d4bae03b2dfa9c1e43a6e01cacaa5a5326690':
  layout lib tests cleanup

14 years agoam 0a9d46b7: Add a test to make sure the replaced classes in layoutlib are correct.
Xavier Ducrohet [Tue, 6 Oct 2009 22:40:32 +0000 (15:40 -0700)]
am 0a9d46b7: Add a test to make sure the replaced classes in layoutlib are correct.

Merge commit '0a9d46b7e741ccf7272bb69a4eef3c1f2adc91b7' into eclair-mr2

* commit '0a9d46b7e741ccf7272bb69a4eef3c1f2adc91b7':
  Add a test to make sure the replaced classes in layoutlib are correct.

14 years agoam 92b5caa4: Merge change Id8df149c into eclair
Robert Greenwalt [Tue, 6 Oct 2009 22:40:27 +0000 (15:40 -0700)]
am 92b5caa4: Merge change Id8df149c into eclair

Merge commit '92b5caa4e21d48db6efeddba532d1546c6e686b1' into eclair-mr2

* commit '92b5caa4e21d48db6efeddba532d1546c6e686b1':
  Turn some logging back on in ConnectionManager

14 years agoMerge change I3d6cf8aa into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 22:34:40 +0000 (18:34 -0400)]
Merge change I3d6cf8aa into eclair

* changes:
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.

14 years agolayout lib tests cleanup
Xavier Ducrohet [Tue, 6 Oct 2009 19:04:03 +0000 (12:04 -0700)]
layout lib tests cleanup

- Move test files to their own package for easy binary inclusion
  in adt-test
- fix some tests and remove obsolete ones.

Change-Id: I5b967f29074fdad74073f9b37d903eabe8dc29e6

14 years agoAdd a test to make sure the replaced classes in layoutlib are correct.
Xavier Ducrohet [Tue, 6 Oct 2009 16:58:08 +0000 (09:58 -0700)]
Add a test to make sure the replaced classes in layoutlib are correct.

Change-Id: I9641635153c12e2c0a23583f7d094767533fc683

14 years agoFix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and...
gwang@google.com [Fri, 2 Oct 2009 23:54:15 +0000 (16:54 -0700)]
Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.

14 years agoMerge change Id8df149c into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:38:03 +0000 (17:38 -0400)]
Merge change Id8df149c into eclair

* changes:
  Turn some logging back on in ConnectionManager

14 years agoam f65161f1: Merge change If933b13d into eclair
Jim Miller [Tue, 6 Oct 2009 21:37:04 +0000 (14:37 -0700)]
am f65161f1: Merge change If933b13d into eclair

Merge commit 'f65161f159db3d140c62f56d43e732c332af7773' into eclair-mr2

* commit 'f65161f159db3d140c62f56d43e732c332af7773':
  Fix for 2161835: Tweaks to rotary lock screen:

14 years agoam 968a9571: Merge change I516c3191 into eclair
Jason Sams [Tue, 6 Oct 2009 21:36:59 +0000 (14:36 -0700)]
am 968a9571: Merge change I516c3191 into eclair

Merge commit '968a9571a391a2dbb0512c4fb99d04ab50861753' into eclair-mr2

* commit '968a9571a391a2dbb0512c4fb99d04ab50861753':
  Implement data push from scripts.  Fixes the problem where apps would have to poll to monitor a scripts state.

14 years agoMerge change If933b13d into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:34:17 +0000 (17:34 -0400)]
Merge change If933b13d into eclair

* changes:
  Fix for 2161835: Tweaks to rotary lock screen:

14 years agoFixed issue #4098: Ringtone#getTitle does not close its cursor.
Josh Guilfoyle [Fri, 2 Oct 2009 22:39:10 +0000 (15:39 -0700)]
Fixed issue #4098: Ringtone#getTitle does not close its cursor.

http://code.google.com/p/android/issues/detail?id=4098

14 years agoMerge change I516c3191 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:32:13 +0000 (17:32 -0400)]
Merge change I516c3191 into eclair

* changes:
  Implement data push from scripts.  Fixes the problem where apps would have to poll to monitor a scripts state. Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.

14 years agoTurn some logging back on in ConnectionManager
Robert Greenwalt [Tue, 6 Oct 2009 21:12:53 +0000 (14:12 -0700)]
Turn some logging back on in ConnectionManager

Trimmed a bunch of logging out, but turned it on so we get the critical stuff.

bug: 2168291

14 years agoImplement data push from scripts. Fixes the problem where apps would have to poll...
Jason Sams [Tue, 6 Oct 2009 20:58:47 +0000 (13:58 -0700)]
Implement data push from scripts.  Fixes the problem where apps would have to poll to monitor a scripts state.
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.

Change only impacts renderscript and renderscript apps.

14 years agoam 962f2536: Merge change I547cff66 into eclair
Wu-cheng Li [Tue, 6 Oct 2009 20:37:57 +0000 (13:37 -0700)]
am 962f2536: Merge change I547cff66 into eclair

Merge commit '962f253665e0c5cc8a29de9e59ce3992dad02440' into eclair-mr2

* commit '962f253665e0c5cc8a29de9e59ce3992dad02440':
  Add zoom functions and sendCommand.

14 years agoam f83d9b3f: fix build breakage
Fred Quintana [Tue, 6 Oct 2009 20:37:52 +0000 (13:37 -0700)]
am f83d9b3f: fix build breakage

Merge commit 'f83d9b3fcd74f2528b0acc74185d2d7bdd716942' into eclair-mr2

* commit 'f83d9b3fcd74f2528b0acc74185d2d7bdd716942':
  fix build breakage

14 years agoMerge change I547cff66 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 20:32:44 +0000 (16:32 -0400)]
Merge change I547cff66 into eclair

* changes:
  Add zoom functions and sendCommand.

14 years agoAdd zoom functions and sendCommand.
Wu-cheng Li [Mon, 28 Sep 2009 23:14:58 +0000 (16:14 -0700)]
Add zoom functions and sendCommand.

b2060030

14 years agofix build breakage
Fred Quintana [Tue, 6 Oct 2009 20:21:23 +0000 (13:21 -0700)]
fix build breakage

14 years agoFix for 2161835: Tweaks to rotary lock screen:
Jim Miller [Mon, 5 Oct 2009 20:00:58 +0000 (13:00 -0700)]
Fix for 2161835: Tweaks to rotary lock screen:

- Make inactive dimples dim.
- When an item is grabbed, make all other dimples dim.

14 years agomGeolocationDatabasePath needs to compare mGeolocationDatabasePath
Grace Kloba [Tue, 6 Oct 2009 19:56:07 +0000 (12:56 -0700)]
mGeolocationDatabasePath needs to compare mGeolocationDatabasePath

14 years agoFix back button handling in ACTV
Bjorn Bringert [Tue, 6 Oct 2009 08:26:06 +0000 (09:26 +0100)]
Fix back button handling in ACTV

AutoCompleteTextView.onKeyPreIme() used
getKeyDispatcherState().startTracking(event, this) to start tracking
the back button, but didn't update the state of the event
before checking event.isTracking().

Fixes http://b/issue?id=2167168
"AutoCompleteTextView back button handling is broken"

Change-Id: I2c5f1e761872b9e02d85ff6f958fabd558d041a0

14 years agoam 5bba632d: - hide Entity and all its references - remove updateEntity and insertEnt...
Fred Quintana [Tue, 6 Oct 2009 19:04:41 +0000 (12:04 -0700)]
am 5bba632d: - hide Entity and all its references - remove updateEntity and insertEntity, since they are not   used - add the RawContacts.Entity class, which is used in lieu of the   android.content.Entity

Merge commit '5bba632d877c2878384ff21566c8eb6a1a22f37b' into eclair-mr2

* commit '5bba632d877c2878384ff21566c8eb6a1a22f37b':
  - hide Entity and all its references

14 years ago- hide Entity and all its references
Fred Quintana [Mon, 5 Oct 2009 21:21:12 +0000 (14:21 -0700)]
- hide Entity and all its references
- remove updateEntity and insertEntity, since they are not
  used
- add the RawContacts.Entity class, which is used in lieu of the
  android.content.Entity

14 years agoam 5163cd6d: Merge change I5be3d603 into eclair
Suchi Amalapurapu [Tue, 6 Oct 2009 18:48:00 +0000 (11:48 -0700)]
am 5163cd6d: Merge change I5be3d603 into eclair

Merge commit '5163cd6d1cb664977eb4473b98657c7e92ae430e' into eclair-mr2

* commit '5163cd6d1cb664977eb4473b98657c7e92ae430e':
  Make sdk version and code names static finals in PackageParser.

14 years agoMerge change I5be3d603 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 18:36:43 +0000 (14:36 -0400)]
Merge change I5be3d603 into eclair

* changes:
      Make sdk version and code names static finals in PackageParser.     Remove api to set these values.     Remove an unused method in AppSecurityPermissions

14 years agoam ccc214b2: Merge change I6a0b14bd into eclair
Daisuke Miyakawa [Tue, 6 Oct 2009 17:53:52 +0000 (10:53 -0700)]
am ccc214b2: Merge change I6a0b14bd into eclair

Merge commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae' into eclair-mr2

* commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae':
  Make VCardComposer create the instance for mHandlerList.