OSDN Git Service

android-x86/frameworks-base.git
14 years agoUse the TLS register if HAVE_ARM_TLS_REGISTER is defined
Mathias Agopian [Wed, 14 Oct 2009 09:39:53 +0000 (02:39 -0700)]
Use the TLS register if HAVE_ARM_TLS_REGISTER is defined

this will be needed for SMP, but would improve dispatching GL calls a bit
on armv6 and above.

14 years agoMerge change I0953c1d5 into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 22:27:47 +0000 (18:27 -0400)]
Merge change I0953c1d5 into eclair

* changes:
  fix [2153873] EGL-1.4 software implementation misses surface attributes

14 years agoProper fix for zero signal strength and no_service. Fixes #2176141
Amith Yamasani [Fri, 9 Oct 2009 01:28:01 +0000 (18:28 -0700)]
Proper fix for zero signal strength and no_service. Fixes #2176141

Track phone service state changes and use a separate timer for out-of-service
since the hunting can timeout on some devices.

Store the timeout value in the config.xml, as it is device/network specific.

Settings App will also change to use the hunting duration to compute the cost
of zero signal.

14 years agoam ae26b8b6: Update 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 22:04:14 +0000 (15:04 -0700)]
am ae26b8b6: Update 5.xml with last minute changes.

Merge commit 'ae26b8b6f40ad037927bf02ffd47953001c2cb3b' into eclair

* commit 'ae26b8b6f40ad037927bf02ffd47953001c2cb3b':
  Update 5.xml with last minute changes.

14 years agofix [2153873] EGL-1.4 software implementation misses surface attributes
Mathias Agopian [Mon, 19 Oct 2009 21:46:27 +0000 (14:46 -0700)]
fix [2153873] EGL-1.4 software implementation misses surface attributes

14 years agoMerge change Ide4c8cbc into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 21:31:52 +0000 (17:31 -0400)]
Merge change Ide4c8cbc into eclair

* changes:
  fix [2151588] glTexSubImage2D() allows pixel format conversion

14 years agoMerge change I88d11cfb into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 21:31:35 +0000 (17:31 -0400)]
Merge change I88d11cfb into eclair

* changes:
  one step towards fixing [2071412] work around mdp 32-bits fade limitation

14 years agofix [2151588] glTexSubImage2D() allows pixel format conversion
Mathias Agopian [Sat, 17 Oct 2009 01:34:31 +0000 (18:34 -0700)]
fix [2151588] glTexSubImage2D() allows pixel format conversion

14 years agoUpdate 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 19:42:28 +0000 (12:42 -0700)]
Update 5.xml with last minute changes.

14 years agoUpdate 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 19:42:28 +0000 (12:42 -0700)]
Update 5.xml with last minute changes.

Change-Id: I520ca879d31cb4581556138a73b542c070de3c00

14 years agoone step towards fixing [2071412] work around mdp 32-bits fade limitation
Mathias Agopian [Fri, 16 Oct 2009 23:17:58 +0000 (16:17 -0700)]
one step towards fixing [2071412] work around mdp 32-bits fade limitation

simplify the GL_MODULATE case and allow blending disabled with RGBA texture

14 years agoam f3bc5349: docs: fix doc error in dialog example snippet (no not merge)
Scott Main [Sat, 17 Oct 2009 00:52:15 +0000 (17:52 -0700)]
am f3bc5349: docs: fix doc error in dialog example snippet (no not merge)

Merge commit 'f3bc5349b20f642f798c2b96d7bf7c05c2af998f' into eclair

* commit 'f3bc5349b20f642f798c2b96d7bf7c05c2af998f':
  docs: fix doc error in dialog example snippet (no not merge)

14 years agodocs: fix doc error in dialog example snippet (no not merge)
Scott Main [Fri, 16 Oct 2009 21:08:37 +0000 (14:08 -0700)]
docs: fix doc error in dialog example snippet (no not merge)

bug: 2160782

14 years agoMerge change I11ebbfd9 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 22:13:19 +0000 (18:13 -0400)]
Merge change I11ebbfd9 into eclair

* changes:
  A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image.

14 years agoMerge change Idcaa1ef8 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 22:06:43 +0000 (18:06 -0400)]
Merge change Idcaa1ef8 into eclair

* changes:
  1) Add 10 seconds wait time before collecting the end memory. 2) Modified the player stress test, shorten the plabyack time.

14 years agoA few more testcases for the vendor to reproduce issues with their decoder. Not part...
Andreas Huber [Fri, 16 Oct 2009 22:05:45 +0000 (15:05 -0700)]
A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image.

14 years agoMerge change I7299c83b into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:56:29 +0000 (17:56 -0400)]
Merge change I7299c83b into eclair

* changes:
  Fix bug exposed by filmstrip.  The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.

14 years agoFix bug exposed by filmstrip. The updated and expanded SimpleMesh had an ordering...
Jason Sams [Fri, 16 Oct 2009 21:55:41 +0000 (14:55 -0700)]
Fix bug exposed by filmstrip.  The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.

14 years agoMerge change I6fc56997 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:26:55 +0000 (17:26 -0400)]
Merge change I6fc56997 into eclair

* changes:
  fix [2187212] add support for GLESv2 dispatch based on TLS

14 years agoMerge change Ia8ac904d into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:26:15 +0000 (17:26 -0400)]
Merge change Ia8ac904d into eclair

* changes:
  fix [2182249] [MR1] valgrind error in surface flinger

14 years agoMerge change Ic37381fb into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 21:23:11 +0000 (17:23 -0400)]
Merge change Ic37381fb into eclair

* changes:
  docs: fix doc error in dialog example snippet

14 years agodocs: fix doc error in dialog example snippet
Scott Main [Fri, 16 Oct 2009 21:08:37 +0000 (14:08 -0700)]
docs: fix doc error in dialog example snippet

bug: 2160782

14 years agoMerge change Ib897cff1 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 19:36:40 +0000 (15:36 -0400)]
Merge change Ib897cff1 into eclair

* changes:
  do not merge Return valid package info for packages that have been uninstalled with an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES These packages do not have a package setting. just check the flag and return the required info from PackageParser.generatePackageInfo

14 years agoMerge change I9521cf8b into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 16:29:39 +0000 (12:29 -0400)]
Merge change I9521cf8b into eclair

* changes:
  Register for light sensor events if non-hardware based auto-brightnees is enabled

14 years agoMerge change I01935be3 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 16:29:15 +0000 (12:29 -0400)]
Merge change I01935be3 into eclair

* changes:
  Remove PowerManager.setAutoBrightness()

14 years agoRegister for light sensor events if non-hardware based auto-brightnees is enabled
Mike Lockwood [Sun, 4 Oct 2009 12:44:47 +0000 (08:44 -0400)]
Register for light sensor events if non-hardware based auto-brightnees is enabled

Change-Id: I9521cf8b315306bdafa70c1500f2e4af83d94ec3
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove PowerManager.setAutoBrightness()
Mike Lockwood [Thu, 15 Oct 2009 04:17:09 +0000 (21:17 -0700)]
Remove PowerManager.setAutoBrightness()

We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodo not merge: fix copy/paste using trackball on passion
Cary Clark [Thu, 15 Oct 2009 17:32:08 +0000 (13:32 -0400)]
do not merge: fix copy/paste using trackball on passion

This fix is alrady in mr2. It does not affect sholes --
this is a trackball only bug.

The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.

Clicking the trackball at the end of selecting text no longer
sends a click event.

Requires a companion fix in external/webkit
Fixes http://b/issue?id=2187591

14 years agoMerge change I0e09e56f into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 05:19:10 +0000 (01:19 -0400)]
Merge change I0e09e56f into eclair

* changes:
  Don't callback on NULL client. Bug 2180510.

14 years agoMerge change I486fdb55 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 03:32:39 +0000 (23:32 -0400)]
Merge change I486fdb55 into eclair

* changes:
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down

14 years agoFix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump...
Joe Onorato [Fri, 16 Oct 2009 03:26:08 +0000 (20:26 -0700)]
Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down

This thing needs to be rewritten.  It's grown too complicated for what it's doing,
and I don't like the physics anyway.

Also, this leaves the bug where if you press back while it's animating down, the
animation is ignored.  However it no longer jumps down all the way, it just
essentially ignores the back key.

Also, this makes the collapse get executed on the back key up event, so it works
with the swipe on the soft keys at the bottom of the screen.

14 years agodo not merge
Suchi Amalapurapu [Wed, 14 Oct 2009 19:11:48 +0000 (12:11 -0700)]
do not merge
Return valid package info for packages that have been uninstalled with
an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES
These packages do not have a package setting. just check the flag and return
the required info from PackageParser.generatePackageInfo

14 years ago1) Add 10 seconds wait time before collecting the end memory.
Yu Shan Emily Lau [Fri, 16 Oct 2009 00:32:41 +0000 (17:32 -0700)]
1) Add 10 seconds wait time before collecting the end memory.
2) Modified the player stress test, shorten the plabyack time.

14 years agoMerge change I741a6100 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 01:47:03 +0000 (21:47 -0400)]
Merge change I741a6100 into eclair

* changes:
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.

14 years agoFix bug where dirty messages for allocations attached to programVertex objects could...
Jason Sams [Fri, 16 Oct 2009 01:45:45 +0000 (18:45 -0700)]
Fix bug where dirty messages for allocations attached to programVertex objects could be lost.

14 years agofix [2182249] [MR1] valgrind error in surface flinger
Mathias Agopian [Fri, 16 Oct 2009 01:08:15 +0000 (18:08 -0700)]
fix [2182249] [MR1] valgrind error in surface flinger

14 years agoAdd separate configuration flag for hardware ALS support.
Mike Lockwood [Wed, 14 Oct 2009 18:55:50 +0000 (11:55 -0700)]
Add separate configuration flag for hardware ALS support.

A new flag config_hardware_automatic_brightness_available indicates
that the device has hardware support for automatic screen brightness management,
while config_automatic_brightness_available now indicates that automatic
brightness mode is available in general.

If config_automatic_brightness_available is true but config_hardware_automatic_brightness_available is false,
then automatic brightness mode support in PowerManager support will be used.

Bug b/2015734 (Ambient light sensor support in power manager)

Change-Id: I6cd888252043dd63df3c25a1d14c21a04a91ad28
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init...
Jason Sams [Thu, 15 Oct 2009 23:47:31 +0000 (16:47 -0700)]
Remove hack in RS that called exit to WAR now fixed driver bugs.  Make gloabal init safe by locking around the critical code.

14 years agoMinor bug fixes and add glError check.
Jason Sams [Wed, 14 Oct 2009 22:43:53 +0000 (15:43 -0700)]
Minor bug fixes and add glError check.

14 years agoAdd egl init start message to help debug driver init hangs.
Jason Sams [Thu, 8 Oct 2009 19:55:06 +0000 (12:55 -0700)]
Add egl init start message to help debug driver init hangs.

14 years agoMerge change I51d41230 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 22:49:44 +0000 (18:49 -0400)]
Merge change I51d41230 into eclair

* changes:
  Make sure CF icon updates when using "all CF" MMI.

14 years agoMerge change I0d74deb6 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 22:33:12 +0000 (18:33 -0400)]
Merge change I0d74deb6 into eclair

* changes:
  Fix possible NPE in the code that restores widgets' state.

14 years agoDon't callback on NULL client. Bug 2180510.
Dave Sparks [Thu, 15 Oct 2009 17:02:22 +0000 (10:02 -0700)]
Don't callback on NULL client. Bug 2180510.

We weren't checking to see if there was a valid camera client when
calling the notify callback function. Now we grab a strong pointer
before the callback to guarantee that the client is not destroyed
before we complete the callback. This change also fixes other
places in the code where we weren't holding a local strong pointer.

14 years agoFix possible NPE in the code that restores widgets' state.
Romain Guy [Thu, 15 Oct 2009 22:09:26 +0000 (15:09 -0700)]
Fix possible NPE in the code that restores widgets' state.

Bug #2189714
Reviewed by: ryanpc

Change-Id: I0d74deb6dc8e90e3b0eafd6b3c16b0c557c72873

14 years agoEnable some tests that requires local http server
Guang Zhu [Thu, 15 Oct 2009 17:45:49 +0000 (10:45 -0700)]
Enable some tests that requires local http server

14 years agoMerge change Ic9b31801 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 00:52:50 +0000 (20:52 -0400)]
Merge change Ic9b31801 into eclair

* changes:
  docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0... move upgrading doc into a new guide for "updating" with the new manager tools and remove the previous updating doc from the dev guide. set up preliminary download page and guide for installing the full SDK. add the requirements doc in sdk/ for all general purposes. revise the download 'thank you' message.

14 years agodocs: setup new SDK documentation for 2.0 and change sdk build version to 2.0...
Scott Main [Wed, 14 Oct 2009 16:11:41 +0000 (09:11 -0700)]
docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0...
move upgrading doc into a new guide for "updating" with
the new manager tools and remove the previous updating doc
from the dev guide. set up preliminary download page and guide
for installing the full SDK. add the requirements doc in sdk/
for all general purposes. revise the download 'thank you'
message.

bug: 2160782

14 years agoMake sure CF icon updates when using "all CF" MMI.
jsh [Wed, 14 Oct 2009 23:55:14 +0000 (16:55 -0700)]
Make sure CF icon updates when using "all CF" MMI.

Fixes b/2074739.

14 years agoRevert "Remove STOPSHIP comment."
Nick Pelly [Wed, 14 Oct 2009 19:19:54 +0000 (12:19 -0700)]
Revert "Remove STOPSHIP comment."

This reverts commit 3d0726b4d8a30e57852b70f1dcf4d8d20508cd1e

Change-Id: Ie1ce5d09cc0b799ef0799f30eedc95f0ca5d3fad
DrNo: jerrryw

14 years agoMerge change I2492bffe into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 18:55:44 +0000 (14:55 -0400)]
Merge change I2492bffe into eclair

* changes:
  Remove STOPSHIP comment.

14 years agoRemove STOPSHIP comment.
Nick Pelly [Wed, 14 Oct 2009 18:46:18 +0000 (11:46 -0700)]
Remove STOPSHIP comment.

Change-Id: I2492bffe57bded65fdbef5cf98e22cef3937e537
DrNo: eastham
Bug: 2089423
Joke: Why don't anteaters get sick? Because they're full of anty-bodies!

14 years agoMerge change If30c5e20 into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 16:52:00 +0000 (12:52 -0400)]
Merge change If30c5e20 into eclair

* changes:
  SDK doc change per http://b/2158141 - adds new res wizard to L10N tutorial. Changed image links to use @docRoot.

14 years agofix [2187212] add support for GLESv2 dispatch based on TLS
Mathias Agopian [Wed, 14 Oct 2009 09:06:37 +0000 (02:06 -0700)]
fix [2187212] add support for GLESv2 dispatch based on TLS

Instead of using a different function pointer table for ES 1.x and ES 2.x,
we use a single one that is the union (sort|uniq) of both tables. Two
instances of this table are initialized with pointers to GL ES 1.x and GL ES 2.x
entry-points.
When a context is created, we store its version number and when it is bound to a
thread we set the approruiate table based on the stored version.

This introduce no penalty while dispatching gl calls to the right API version.

[Pending Dr No approval for MR1]

14 years agoMaking new Contacts APIs visible in Eclair SDK - Part II
Dmitri Plotnikov [Wed, 14 Oct 2009 07:28:48 +0000 (00:28 -0700)]
Making new Contacts APIs visible in Eclair SDK - Part II

Bug: http://b/2186595
Change-Id: Id87533c25cceb0fe3b0845aed10912c937679f45

14 years agoMerge change I4ef3e82f into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 07:13:12 +0000 (03:13 -0400)]
Merge change I4ef3e82f into eclair

* changes:
  7 more ringtones. Now with more Dr. No!

14 years ago7 more ringtones. Now with more Dr. No!
Dave Sparks [Wed, 14 Oct 2009 05:27:13 +0000 (22:27 -0700)]
7 more ringtones. Now with more Dr. No!

14 years agoMerge change I875200fe into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 05:51:00 +0000 (01:51 -0400)]
Merge change I875200fe into eclair

* changes:
  Another fix for #2186897: Cannot unlock the device by swiping

14 years agoAnother fix for #2186897: Cannot unlock the device by swiping
Dianne Hackborn [Wed, 14 Oct 2009 05:43:33 +0000 (22:43 -0700)]
Another fix for #2186897: Cannot unlock the device by swiping

This was probably a side-effect of the divide by zero exception,
but we'll be safe anyway.

Change-Id: I875200febb9b3090d12f170066b2bea74c9f77f8

14 years agoMerge change Iac534225 into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 03:13:37 +0000 (23:13 -0400)]
Merge change Iac534225 into eclair

* changes:
  Fix issue #2186709: Can't unlock the device for a while

14 years agoFix issue #2186709: Can't unlock the device for a while
Dianne Hackborn [Wed, 14 Oct 2009 02:50:51 +0000 (19:50 -0700)]
Fix issue #2186709: Can't unlock the device for a while

Change-Id: Iac5342254036cc286ad502dba943520f55ea2405

14 years agoMaking new Contacts APIs visible in Eclair SDK
Dmitri Plotnikov [Wed, 14 Oct 2009 01:08:25 +0000 (18:08 -0700)]
Making new Contacts APIs visible in Eclair SDK

Bug: http://b/2186595

Change-Id: Iaba8514276299504af6ab0714577eb37d9608237

14 years agoCorrect non-opaque list separator assets.
Jeff Sharkey [Tue, 13 Oct 2009 23:28:36 +0000 (16:28 -0700)]
Correct non-opaque list separator assets.

Fixes http://b/2186076

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

* changes:
  Futher reduce the logging of EriManager.

14 years agoFuther reduce the logging of EriManager.
Robert Greenwalt [Tue, 13 Oct 2009 20:53:22 +0000 (13:53 -0700)]
Futher reduce the logging of EriManager.

There was another log statement that was poluting radio logs.

bug: 2180891

14 years agoMerge change I1369e9ab into eclair
Android (Google) Code Review [Tue, 13 Oct 2009 18:45:56 +0000 (14:45 -0400)]
Merge change I1369e9ab into eclair

* changes:
  Work on issue #2144454: Inconsistent swipes...

14 years agoWork on issue #2144454: Inconsistent swipes...
Dianne Hackborn [Tue, 13 Oct 2009 06:21:18 +0000 (23:21 -0700)]
Work on issue #2144454: Inconsistent swipes...

This introduces some hacks in the framework to try to clean up the
data we are getting from the touch screen.  There are two main things
being done here:

1. Look for changes in position that are unreasonably large, and
ignore them.  This is intended to eliminate the spurious jumps that
often happen when releasing.

2. Add some simple adaptive averaging of the touch data.  If the
difference between the last and next point is large enough, we
disable the averaging; otherwise we average up to the last 5 points.
The goal is to get rid of the noise of small movements so that things
like taps don't look like short flings, while still responding quickly
to rapid movement.

For averaging pressure, we also weight each averaged coordinate by
the reported pressure at that point.  This is intended to keep the
coordinates closer together during a release, when the pressure is
going down and the accuracy decreasing.  It may also result in some
other interesting artifacts, but hopefully nothing problematic.

Change-Id: I1369e9ab015c406946a45c2d72547da9c604178f

14 years agoMerge change If1acb2dd into eclair
Android (Google) Code Review [Tue, 13 Oct 2009 16:45:30 +0000 (12:45 -0400)]
Merge change If1acb2dd into eclair

* changes:
  Add a little logging to diagnose wifi cycle bug

14 years agoAdd a little logging to diagnose wifi cycle bug
Robert Greenwalt [Tue, 13 Oct 2009 15:20:55 +0000 (08:20 -0700)]
Add a little logging to diagnose wifi cycle bug

Hiroshi approved (with serious code review).
bug: 2171575

14 years agoMerge change I9f93ce61 into eclair
Android (Google) Code Review [Tue, 13 Oct 2009 10:02:59 +0000 (06:02 -0400)]
Merge change I9f93ce61 into eclair

* changes:
  Throttle camera preview frames to the app. Bug 2180302.

14 years agoThrottle camera preview frames to the app. Bug 2180302.
Dave Sparks [Tue, 13 Oct 2009 09:28:54 +0000 (02:28 -0700)]
Throttle camera preview frames to the app. Bug 2180302.

With higher frame rates and larger preview frames, we can easily
flood the application with too much data. This patch fakes the
old camera preview mode by doing continuous one-shot frames.
After the previous frame is handled, if the application hasn't
cleared the preview callback, we start another one-shot preview
frame. With this change, the application should never have more
than one preview frame unless it is explicitly saving references
to them.

modified:   core/java/android/hardware/Camera.java

14 years agoMerge change I124356f6 into eclair
Android (Google) Code Review [Tue, 13 Oct 2009 01:30:04 +0000 (21:30 -0400)]
Merge change I124356f6 into eclair

* changes:
  Continue caching "POST" result so that we won't get the resubmission warning when back to Google search result.

14 years agoContinue caching "POST" result so that we won't get
Grace Kloba [Tue, 13 Oct 2009 00:39:50 +0000 (17:39 -0700)]
Continue caching "POST" result so that we won't get
the resubmission warning when back to Google search result.

Fix http://b/issue?id=1490379
Break/reopen http://b/issue?id=1980031

14 years agoSDK doc change per http://b/2158141 - adds new res wizard to L10N tutorial.
Katarina Stenstedt [Wed, 7 Oct 2009 22:52:17 +0000 (15:52 -0700)]
SDK doc change per b/2158141 - adds new res wizard to L10N tutorial.
Changed image links to use @docRoot.

Change-id: If30c5e20bbbb0dd4a6eb0563ede2767d110e1c2e
Bug: 2158141

14 years agoMake standard roaming indicator display indications configurable
Libin Tang [Wed, 7 Oct 2009 15:29:39 +0000 (10:29 -0500)]
Make standard roaming indicator display indications configurable

Allow the ERI overlay file to specify the text for any built-in strings.
Currently only the hard-coded strings are used for those.

Bug: 2170881
Change-Id: I5d6169696a4558e62587585e17f908f823c54a2b

14 years agoMerge change I71f48a21 into eclair
Android (Google) Code Review [Mon, 12 Oct 2009 19:25:51 +0000 (15:25 -0400)]
Merge change I71f48a21 into eclair

* changes:
  Reduce the amount of EriManager Logging.

14 years agoReduce the amount of EriManager Logging.
Robert Greenwalt [Mon, 12 Oct 2009 19:13:14 +0000 (12:13 -0700)]
Reduce the amount of EriManager Logging.

It was filling the radio log with noise.  Added a VDBG set to false to preserve the logging
but deactivate it.

bug: 2180891

14 years agoMerge change I6261ab54 into eclair
Android (Google) Code Review [Mon, 12 Oct 2009 19:01:43 +0000 (15:01 -0400)]
Merge change I6261ab54 into eclair

* changes:
  Revert "egl: temporarily also include eglTerminate->eglInitialize hack for 8k"

14 years agoMerge change Iad66a274 into eclair
Android (Google) Code Review [Mon, 12 Oct 2009 18:14:44 +0000 (14:14 -0400)]
Merge change Iad66a274 into eclair

* changes:
  Fix race condition in WindowManagerService.disableKeyguard()

14 years agoMerge change I305c181c into eclair
Android (Google) Code Review [Mon, 12 Oct 2009 18:05:44 +0000 (14:05 -0400)]
Merge change I305c181c into eclair

* changes:
  Delay 500ms between each registering each SDP record using sdptool.

14 years agoMerge change I067d55ea into eclair
Android (Google) Code Review [Mon, 12 Oct 2009 18:04:31 +0000 (14:04 -0400)]
Merge change I067d55ea into eclair

* changes:
  Fix issue #2179931: Power key to wake up frequently ignored when in dock app

14 years agoDelay 500ms between each registering each SDP record using sdptool.
Nick Pelly [Mon, 12 Oct 2009 16:54:39 +0000 (09:54 -0700)]
Delay 500ms between each registering each SDP record using sdptool.

This is to workaround an issue where SDP records will fail to register using
sdptool. When we run SystemService.start() it forks sdptool, so if we do this
four times in a row these forked processes can run in parallel, and one or
more of them fails. There is probably some thready safety issue in sdptool
or Bluez that makes it unsafe to run sdptool in parallel.

As a workaround, delay 500ms between each run of sdptool to register SDP
records when starting Bluetooth.

Before this fix it was easy to reproduce problems with service record
registration. If you turn BT off/on multiple times you can see that sometimes
one or more service records are missing. Repro rate is about 20% in my tests.
Result is that remote devices cannot connect to the missing service.

After this fix I am unable to reproduce any missing SDP records, after 30+
cycles of BT on/off. Motorola BT team also ran stress tests overnight with this
fix and were unable to reproduce the missing SDP records.

This is a low risk fix. It does delay some records from being registered
by an additional 1.5 seconds (on top of the 3 second delay we already had),
so if you try and very quickly connect a BT service after turning BT on it
won't work the first time.

Do not merge. (I will use a less hacky fix for MR2/Master)

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

14 years agoFix race condition in WindowManagerService.disableKeyguard()
Mike Lockwood [Sun, 11 Oct 2009 20:57:08 +0000 (16:57 -0400)]
Fix race condition in WindowManagerService.disableKeyguard()

TokenWatcher.acquire() synchronizes on mTokens, not this,
so we need to synchronize on mKeyguardDisabled in disableKeyguard()
to synchronize properly with reenableKeyguard().

This should fix b/2180142 (Stuck in enable keyguard when receiving phone call)

Change-Id: Iad66a2748c7fbf2c516fdb8a00988696719ea80c
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoNow that Eclair has been defined as API revision 5 mark Build.VERSION_CODES.ECLAIR...
Jeff Hamilton [Sat, 10 Oct 2009 17:06:19 +0000 (12:06 -0500)]
Now that Eclair has been defined as API revision 5 mark Build.VERSION_CODES.ECLAIR as such.

Change-Id: I45af1fe80f6f93a1db8389600dc780af9cedf22c

14 years agoMerge change I66693ea2 into eclair
Android (Google) Code Review [Sat, 10 Oct 2009 04:10:29 +0000 (00:10 -0400)]
Merge change I66693ea2 into eclair

* changes:
  fix sync exponential backoff for expedited syncs

14 years agoRevert "egl: temporarily also include eglTerminate->eglInitialize hack for 8k"
Dima Zavin [Sat, 10 Oct 2009 01:04:58 +0000 (18:04 -0700)]
Revert "egl: temporarily also include eglTerminate->eglInitialize hack for 8k"

This reverts commit ed5ecdba36648973be3033a045e2ece8bf039e4a.

14 years agoFix issue #2179931: Power key to wake up frequently ignored when in dock app
Dianne Hackborn [Sat, 10 Oct 2009 00:38:26 +0000 (17:38 -0700)]
Fix issue #2179931: Power key to wake up frequently ignored when in dock app

The dock app is forcing the screen to a particular brightness level.  This
causes the window manager to often call into the power manager with the
new brightness.  This causes us to go in to updateLightsLocked() to figure
out and apply the real brightness to use.  When the screen is off the
real brightness always remains 0, but even if it didn't change from the
last one we would start an animation which would when done put the system
to sleep and fight with the user trying to turn the device on.

Now, if the new target brightness is the same as the last one, we leave the
animation as-is -- either running or not as appropriate.

Change-Id: I067d55ea2b39e294c5d5291587a4d8727c0b8083

14 years agoFix issue #2179891: Need to update 5.xml
Dianne Hackborn [Fri, 9 Oct 2009 23:41:40 +0000 (16:41 -0700)]
Fix issue #2179891: Need to update 5.xml

Copied current.xml to 5.xml.

Change-Id: I5eaa806eef9a9a3135b021d7db179325ff7663fc

14 years agofix sync exponential backoff for expedited syncs
Fred Quintana [Fri, 9 Oct 2009 23:32:02 +0000 (16:32 -0700)]
fix sync exponential backoff for expedited syncs

14 years agoMerge change I5e482bbc into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 23:07:12 +0000 (19:07 -0400)]
Merge change I5e482bbc into eclair

* changes:
  Add new RenderScript sample: ImageProcessing.

14 years agoAdd new RenderScript sample: ImageProcessing.
Romain Guy [Fri, 9 Oct 2009 23:05:25 +0000 (16:05 -0700)]
Add new RenderScript sample: ImageProcessing.

Change-Id: I5e482bbc34911c940a3a74258f8f8549b1939bc4

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 9 Oct 2009 22:33:08 +0000 (15:33 -0700)]
Import revised translations.  DO NOT MERGE

Approver: jerryw

14 years agoMake PhoneStateListeners not call TelephonyManager
Robert Greenwalt [Fri, 9 Oct 2009 04:15:52 +0000 (21:15 -0700)]
Make PhoneStateListeners not call TelephonyManager

Since the StatusBarPolicy is run in the System Process and shouldn't therefore call into
the Telephony process we decided to make sure all the needed info was passed along with the
original notifications.

bug: 2173053

14 years agoSetting WebCore cache limit depending on the memory class.
Grace Kloba [Fri, 9 Oct 2009 03:48:09 +0000 (20:48 -0700)]
Setting WebCore cache limit depending on the memory class.

Fix http://b/issue?id=2176656

14 years agoMerge change Iee649a81 into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 03:19:03 +0000 (23:19 -0400)]
Merge change Iee649a81 into eclair

* changes:
  Add LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads. See bug 2177046.

14 years agoAdd LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads.
Dan Egnor [Fri, 9 Oct 2009 02:51:51 +0000 (19:51 -0700)]
Add LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads.
See bug 2177046.

14 years agoMerge change I9485aec1 into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 02:04:36 +0000 (22:04 -0400)]
Merge change I9485aec1 into eclair

* changes:
  Fix for 2177367: Reduce duration of vibrate in RotaryLockScreen

14 years agoFix for 2177367: Reduce duration of vibrate in RotaryLockScreen
Jim Miller [Fri, 9 Oct 2009 01:49:53 +0000 (18:49 -0700)]
Fix for 2177367: Reduce duration of vibrate in RotaryLockScreen

BUG=2177367

14 years agoFix issue #2176944: Need API so browser, others can determine memory size of device
Dianne Hackborn [Fri, 9 Oct 2009 00:55:49 +0000 (17:55 -0700)]
Fix issue #2176944: Need API so browser, others can determine memory size of device

Change-Id: I65d91cdb70df91b67fe84297dd6a94d26a785131

14 years agoMerge change I490e01ba into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 01:38:39 +0000 (21:38 -0400)]
Merge change I490e01ba into eclair

* changes:
  Fix issue #2174566: HOT STABILITY: NPE in activity manager

14 years agoFix issue #2177262: Improve animations
Dianne Hackborn [Fri, 9 Oct 2009 01:34:57 +0000 (18:34 -0700)]
Fix issue #2177262: Improve animations

Slower is better.

Change-Id: Id609f253e43814b4c7689ed9b076ef75f4e345a6