OSDN Git Service

android-x86/frameworks-base.git
14 years agodocs: fix broken link for download page.
Scott Main [Wed, 28 Oct 2009 00:02:12 +0000 (17:02 -0700)]
docs: fix broken link for download page.

a script was inserting a path that is no longer needed.
the removed class was the script identifier, so removing
this class means the path won't be added.

14 years agodocs: add 2.0 highlights doc and updated homepage
Scott Main [Thu, 22 Oct 2009 21:57:09 +0000 (14:57 -0700)]
docs: add 2.0 highlights doc and updated homepage

14 years agodoc change: fix broken link at top of installing doc
Dirk Dougherty [Fri, 23 Oct 2009 01:02:45 +0000 (18:02 -0700)]
doc change: fix broken link at top of installing doc

Bug: 2160782

14 years agoMerge change Ieeb0b251 into eclair-sdk
Android (Google) Code Review [Fri, 23 Oct 2009 00:53:38 +0000 (20:53 -0400)]
Merge change Ieeb0b251 into eclair-sdk

* changes:
  doc change: incorporate comments on SDK docs and structure.

14 years agoMerge change I9161f53d into eclair-sdk
Android (Google) Code Review [Fri, 23 Oct 2009 00:44:12 +0000 (20:44 -0400)]
Merge change I9161f53d into eclair-sdk

* changes:
  update account manager javadoc

14 years agodoc change: incorporate comments on SDK docs and structure.
Dirk Dougherty [Thu, 22 Oct 2009 23:08:32 +0000 (16:08 -0700)]
doc change: incorporate comments on SDK docs and structure.

Bug: 2160782

14 years agoupdate account manager javadoc
Fred Quintana [Wed, 21 Oct 2009 20:43:10 +0000 (13:43 -0700)]
update account manager javadoc

14 years agodoc change: Add docs for SDK. Support new modular structure. In Android.mk, change...
Dirk Dougherty [Fri, 16 Oct 2009 22:25:15 +0000 (15:25 -0700)]
doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

Change-Id:I368345755dd753b1056fb06ff25e4b32f3020e4d
Bug:2160782

14 years agodoc change: add diff report 4 -> 5
Dirk Dougherty [Fri, 16 Oct 2009 16:00:38 +0000 (09:00 -0700)]
doc change: add diff report 4 -> 5

Bug: 2160782

14 years agodoc change: edits to the screens support doc.
Dirk Dougherty [Thu, 15 Oct 2009 00:59:32 +0000 (17:59 -0700)]
doc change: edits to the screens support doc.

Bug: 2160782

14 years agodoc change only: add screens support doc
Dirk Dougherty [Sat, 10 Oct 2009 00:14:28 +0000 (17:14 -0700)]
doc change only: add screens support doc

14 years agodocs only.
Scott Main [Fri, 9 Oct 2009 19:38:41 +0000 (12:38 -0700)]
docs only.
fix some typos.

14 years agoFix spacing to escape "false" correctly.
Jeff Sharkey [Tue, 20 Oct 2009 22:57:43 +0000 (15:57 -0700)]
Fix spacing to escape "false" correctly.

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 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 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 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 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

14 years agoMerge change I88c6e267 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 23:52:35 +0000 (19:52 -0400)]
Merge change I88c6e267 into eclair

* changes:
  Fix issue #2175693: Add vmallocinfo to dumpstate

14 years agoRemove STOPSHIP BT logging.
Nick Pelly [Thu, 8 Oct 2009 22:54:41 +0000 (00:54 +0200)]
Remove STOPSHIP BT logging.

Do not merge.

Change-Id: I428bc0fc67030f24112f2e9c865824dfaea4897d
DrNo: eastham
Bug: 2089423
Joke: Why was Tigger looking in the toilet? To find Pooh

14 years agoBT API security audit: fix a couple of permission mistakes.
Nick Pelly [Thu, 8 Oct 2009 21:27:28 +0000 (23:27 +0200)]
BT API security audit: fix a couple of permission mistakes.

Make functions that are meant to be BLUETOOTH_ADMIN really
BLUETOOTH_ADMIN.

Add some missing javadoc for permissions.

The only functional change here is the BLUETOOTH->BLUETOOTH_ADMIN
changes. This is super safe because every system app that uses BT
has both permissions.

Change-Id: Iddc61f9fd5d81fe0171358665a0fa52f2fa02871
DrNo: eastham
Joke: How do you catch a rabbit? Hide behind a tree and make carrott noises.

14 years agoFix issue #2175693: Add vmallocinfo to dumpstate
Dianne Hackborn [Thu, 8 Oct 2009 17:49:12 +0000 (10:49 -0700)]
Fix issue #2175693: Add vmallocinfo to dumpstate

Change-Id: I88c6e2679919e56f581fcf79dbe683393dd8ce27

14 years agoFix issue #2174566: HOT STABILITY: NPE in activity manager
Dianne Hackborn [Thu, 8 Oct 2009 23:22:03 +0000 (16:22 -0700)]
Fix issue #2174566: HOT STABILITY: NPE in activity manager

- Don't crash if the service's app process doesn't have a thread (this
  can happen if we are currently starting the process and then try to
  start the service again).
- Be more robust about deciding to start a service's process: try each
  time it is started; the startProcess call will take care of ignoring
  it if the process is already started.
- Fix some issues where we would leave dead processes on the low memory
  list.

Change-Id: I490e01ba7b45adc191bab7ace377b6873e284897

14 years agoMerge change Ib96df854 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 23:10:42 +0000 (19:10 -0400)]
Merge change Ib96df854 into eclair

* changes:
  add a way to easily catch and log GL errors (compile time flag)

14 years agoadd a way to easily catch and log GL errors (compile time flag)
Mathias Agopian [Thu, 8 Oct 2009 22:58:11 +0000 (15:58 -0700)]
add a way to easily catch and log GL errors (compile time flag)

14 years agoam 24c8645a: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Oct 2009 22:03:24 +0000 (15:03 -0700)]
am 24c8645a: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '24c8645a995f58885fefcaade0681dd459452deb' into eclair

* commit '24c8645a995f58885fefcaade0681dd459452deb':
  Import revised translations.  DO NOT MERGE

14 years agoam ac62c84a: (-s ours) DO NOT MERGE merge from donut-gms
Jean-Baptiste Queru [Thu, 8 Oct 2009 22:03:15 +0000 (15:03 -0700)]
am ac62c84a: (-s ours) DO NOT MERGE merge from donut-gms

Merge commit 'ac62c84a321e2720ab99e37724aba0b6406f39a6' into eclair

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

14 years agoMerge change Iee227ace into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 21:58:11 +0000 (17:58 -0400)]
Merge change Iee227ace into eclair

* changes:
  GPS: Fix problem with SUPL when SUPL APN is already active.

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

* changes:
  Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device.

14 years agoGPS: Fix problem with SUPL when SUPL APN is already active.
Mike Lockwood [Thu, 8 Oct 2009 19:45:03 +0000 (15:45 -0400)]
GPS: Fix problem with SUPL when SUPL APN is already active.

Use ConnectivityManager.CONNECTIVITY_ACTION broadcast in LocationManagerService
to notify GPS when SUPL connection is ready instead of TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED,
which is not sent in all cases.
Expand LocationProvider.updateNetworkState() to include NetworkInfo object.

Fixes bug b/2155661

Change-Id: Iee227ace7d536b36cf7973e3e6a8b7a621ce6565
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change Ie5d93b7e into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 20:11:13 +0000 (16:11 -0400)]
Merge change Ie5d93b7e into eclair

* changes:
  Set the Bond State to NONE when we receive a Agent Cancel.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Oct 2009 19:16:00 +0000 (12:16 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I70d32c0d002d1ba3d08813c1e8985421fca81790

14 years agoFix issue 2174002: After rejecting Call when device ringtone is mute and playing...
Eric Laurent [Thu, 8 Oct 2009 17:58:19 +0000 (10:58 -0700)]
Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device.

Added a workarouond to request the A2DP output standby directly to audio hardware when the sink is suspended as it seems that the suspend request often fails.

Also take into account resume requests received while a suspend request is pending.

14 years agoControl H icon display in Status bar.
John Wang [Thu, 8 Oct 2009 17:35:27 +0000 (10:35 -0700)]
Control H icon display in Status bar.

Bug 2138275. Add a config setting to control if status bar
should show different icons for UMTS and HSPA connnection.

14 years agoMerge change I95319bde into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 17:53:54 +0000 (13:53 -0400)]
Merge change I95319bde into eclair

* changes:
  Fixes #2175599. Prevents an NPE when AttachInfo is null.

14 years agoMerge change Ib977f2bd into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 17:49:39 +0000 (13:49 -0400)]
Merge change Ib977f2bd into eclair

* changes:
  Make vCard import Photo from vCard file :(

14 years agoFixes #2175599. Prevents an NPE when AttachInfo is null.
Romain Guy [Thu, 8 Oct 2009 17:48:54 +0000 (10:48 -0700)]
Fixes #2175599. Prevents an NPE when AttachInfo is null.

This bug was introduced by a change made to query the window's opacity.

Approved by mcleron.

Change-Id: I95319bde72b0faade095bbbbb317e84b9be8efa8

14 years agoDO NOT MERGE merge from donut-gms
Jean-Baptiste Queru [Thu, 8 Oct 2009 17:00:40 +0000 (10:00 -0700)]
DO NOT MERGE merge from donut-gms

14 years agoMerge change I50a321c9 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 16:58:48 +0000 (12:58 -0400)]
Merge change I50a321c9 into eclair

* changes:
  LocationManagerService: Fix race when removing LocationListener

14 years agoMerge change Ib7c34cec into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 15:11:50 +0000 (11:11 -0400)]
Merge change Ib7c34cec into eclair

* changes:
  dumpstate: 'RAMCONSOLE' -> 'LAST KMSG'

14 years agodumpstate: 'RAMCONSOLE' -> 'LAST KMSG'
San Mehat [Thu, 8 Oct 2009 00:03:00 +0000 (17:03 -0700)]
dumpstate: 'RAMCONSOLE' -> 'LAST KMSG'

Signed-off-by: San Mehat <san@google.com>
14 years agoLocationManagerService: Fix race when removing LocationListener
Joshua Bartel [Mon, 5 Oct 2009 16:44:46 +0000 (12:44 -0400)]
LocationManagerService: Fix race when removing LocationListener

In LocationManagerService if a LocationListener is removed while it has
a pending broadcast the wake lock held while pending broadcasts are
outstanding do not get cleared properly.

There are 2 cases of this race that are fixed:

1. locationCallbackFinished was changed to check the mReceivers HashMap
directly instead of calling getReceiver.  getReceiver would add the
ILocationListener as a new Receiver if it did not exist which caused
a receiver that was removed when it still had a broadcast pending to
be added back in a bad state when the pending broadcast completed.

2. removeUpdatesLocked was changed to decrement the pending broadcasts
when a Receiver is removed that has pending broadcasts.

Fixes bug b/2163871

Change-Id: I50a321c9b3359bf69845236dc4a4b9e38e847335
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoSet the Bond State to NONE when we receive a Agent Cancel.
Jaikumar Ganesh [Thu, 8 Oct 2009 09:27:52 +0000 (02:27 -0700)]
Set the Bond State to NONE when we receive a Agent Cancel.

Sometimes during OPP, we can get stuck in Pairing state when the remote
end, cancels the Pairing process - we will just get onAgentCancel
and thus not set the Pairing state properly.

DrNo: Eastham
Bug:2174874

14 years agoMerge change I29232f2a into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 08:49:23 +0000 (04:49 -0400)]
Merge change I29232f2a into eclair

* changes:
  Only dismiss search dialog after launching intent.

14 years agoMerge change Iea48361d into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 07:50:07 +0000 (03:50 -0400)]
Merge change Iea48361d into eclair

* changes:
  fix an NPE on a race condition that occurs when unbinding from an authenticator at the samer time that its process dies: bug 2171204

14 years agoMerge change Id8c9cb2f into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 04:58:46 +0000 (00:58 -0400)]
Merge change Id8c9cb2f into eclair

* changes:
  More fix #2163209: alarm clock rings but is hidden behind lock screen

14 years agoMore fix #2163209: alarm clock rings but is hidden behind lock screen
Dianne Hackborn [Thu, 8 Oct 2009 04:26:57 +0000 (21:26 -0700)]
More fix #2163209: alarm clock rings but is hidden behind lock screen

There was another way we could ignore the application windows flags
while the lock screen was displayed.  This is the infrastructure to
deal with that.

Change-Id: Id8c9cb2f7081df6757ccb797a7cde618e82f7b38

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

* changes:
  Retry overlay create if it fails. Bug 2153980.

14 years agoRetry overlay create if it fails. Bug 2153980.
Dave Sparks [Thu, 8 Oct 2009 02:18:20 +0000 (19:18 -0700)]
Retry overlay create if it fails. Bug 2153980.

Occasionally we see references to the overlay hanging around long
enough to cause problems in applications when they tried to destroy
the overlay and re-create it. This patch causes the camera HAL to
retry the overlay creation call if it fails every 20ms up to 50
times before it gives up.

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.