OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change I18ffb549 into eclair
Android (Google) Code Review [Mon, 30 Nov 2009 20:13:01 +0000 (12:13 -0800)]
Merge change I18ffb549 into eclair

* changes:
  fix [2069023] STOPSHIP: disable DEBUG_COPYBIT

14 years agofix [2069023] STOPSHIP: disable DEBUG_COPYBIT
Mathias Agopian [Mon, 30 Nov 2009 20:10:53 +0000 (12:10 -0800)]
fix [2069023] STOPSHIP: disable DEBUG_COPYBIT

14 years agoMerge change I5469a4ac into eclair
Android (Google) Code Review [Mon, 30 Nov 2009 19:55:10 +0000 (11:55 -0800)]
Merge change I5469a4ac into eclair

* changes:
  fixed [2260070] display stopped updating

14 years agoMerge change Ie8493cf1 into eclair
Android (Google) Code Review [Mon, 30 Nov 2009 19:54:46 +0000 (11:54 -0800)]
Merge change Ie8493cf1 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 30 Nov 2009 19:33:16 +0000 (11:33 -0800)]
Import revised translations.  DO NOT MERGE

14 years agofixed [2260070] display stopped updating
Mathias Agopian [Mon, 30 Nov 2009 19:15:41 +0000 (11:15 -0800)]
fixed [2260070] display stopped updating

always check that the visible region isn't empty after all visible regions are recomputed
clear he freeze-lock if it is.

14 years agoMerge change I524dc046 into eclair
Android (Google) Code Review [Mon, 30 Nov 2009 18:00:06 +0000 (10:00 -0800)]
Merge change I524dc046 into eclair

* changes:
  Fix issue 2192673: Music Pausing Even when notifications are set to silent.

14 years agoFix issue 2192673: Music Pausing Even when notifications are set to silent.
Eric Laurent [Fri, 27 Nov 2009 13:07:55 +0000 (05:07 -0800)]
Fix issue 2192673: Music Pausing Even when notifications are set to silent.

Do not play ringtones, notifications or camera sounds if ringer mode is silent.

14 years agodumpstate: Pick up the last kernel log from /proc
Dima Zavin [Thu, 26 Nov 2009 07:31:48 +0000 (23:31 -0800)]
dumpstate: Pick up the last kernel log from /proc

This is needed since its no longer copied to /data/dontpanic by init.

Change-Id: I5217da73ec470653824b7fb9a31e093e263a8dc9
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoMerge change Ic9f6bf94 into eclair
Android (Google) Code Review [Wed, 25 Nov 2009 21:52:08 +0000 (13:52 -0800)]
Merge change Ic9f6bf94 into eclair

* changes:
  Add a test app that will drain the battery.  NOT IN BUILD.

14 years agoAdd a test app that will drain the battery. NOT IN BUILD.
Joe Onorato [Wed, 25 Nov 2009 21:47:17 +0000 (16:47 -0500)]
Add a test app that will drain the battery.  NOT IN BUILD.

14 years agoMerge change I5aa3adcf into eclair
Android (Google) Code Review [Wed, 25 Nov 2009 21:43:07 +0000 (13:43 -0800)]
Merge change I5aa3adcf into eclair

* changes:
  Improve the exception message text by including eglGetError().

14 years agoMerge change Ie552036f into eclair
Android (Google) Code Review [Wed, 25 Nov 2009 20:55:44 +0000 (12:55 -0800)]
Merge change Ie552036f into eclair

* changes:
  Fix issue #2286419: maxSdkVersion causes existing apps to disappear.

14 years agoFix issue #2286419: maxSdkVersion causes existing apps to disappear.
Dianne Hackborn [Wed, 25 Nov 2009 20:41:15 +0000 (12:41 -0800)]
Fix issue #2286419: maxSdkVersion causes existing apps to disappear.

Change-Id: Ie552036f4ea673e0ce9981ff1cbd1fbe08678510

14 years agoAdd keyguard permission to instrumented ImfTest package.
Brett Chabot [Wed, 25 Nov 2009 19:32:12 +0000 (11:32 -0800)]
Add keyguard permission to instrumented ImfTest package.

Workaround to fix bug 2284623

Change-Id: I80afc37ed5ffae0447e0aedba686c13d682c8076

14 years agoMerge changes I0c77eca9,Ibd184157,I81947f67 into eclair
Android (Google) Code Review [Wed, 25 Nov 2009 10:37:27 +0000 (02:37 -0800)]
Merge changes I0c77eca9,Ibd184157,I81947f67 into eclair

* changes:
  Rename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage. Do not merge.
  Update JavaDoc for CacheManger.CacheResult, WebChromeClient.getDefaultVideoPoster and WebChromeClient.getVideoLoadingProgressView. Do not merge.
  Improves documentation for GeolocationPermissions class. Do not merge.

14 years agoImprove the exception message text by including eglGetError().
Jack Palevich [Wed, 25 Nov 2009 05:56:21 +0000 (13:56 +0800)]
Improve the exception message text by including eglGetError().

Should help us track down the cause of bug 2285187

14 years agoMerge change Ib71193bf into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 23:41:32 +0000 (15:41 -0800)]
Merge change Ib71193bf into eclair

* changes:
  Fix 2283089 - ERD47B: Force Close of Launcher2 process when hitting Search button to invoke QSB

14 years agoFix 2283089 - ERD47B: Force Close of Launcher2 process when hitting Search button...
Joe Onorato [Tue, 24 Nov 2009 23:34:42 +0000 (18:34 -0500)]
Fix 2283089 - ERD47B: Force Close of Launcher2 process when hitting Search button to invoke QSB

In this case, as opposed to what was happening in 1977685, the focused view wasn't the one that was
directly removed, it was a child of the removed view.

14 years agoMerge change I16925b91 into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 22:43:53 +0000 (14:43 -0800)]
Merge change I16925b91 into eclair

* changes:
  Finish fixing issue #2228381: android.view.InflateException...

14 years agoMerge change Ibf0c320a into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 22:26:28 +0000 (14:26 -0800)]
Merge change Ibf0c320a into eclair

* changes:
  When using MDP, we needed to use a texture for diming.

14 years agoMerge change I6c6c166b into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 22:00:54 +0000 (14:00 -0800)]
Merge change I6c6c166b into eclair

* changes:
  Fix 2268841: Updated portrait tab lockscreen to match latest PPL.

14 years agoMerge change I816428ae into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 21:28:45 +0000 (13:28 -0800)]
Merge change I816428ae into eclair

* changes:
  Temporarily add explicit step to disable keyguard to imf tests to attempt solve test flakiness. Bug number : 2177113

14 years agoTemporarily add explicit step to disable keyguard to imf tests to attempt solve test...
Swarna Kumar [Tue, 24 Nov 2009 19:02:37 +0000 (11:02 -0800)]
Temporarily add explicit step to disable keyguard to imf tests to attempt solve test flakiness.
Bug number : 2177113

14 years agoForce a crash under conditions where white square bug in all apps is likely to occur.
Jason Sams [Tue, 24 Nov 2009 20:26:35 +0000 (12:26 -0800)]
Force a crash under conditions where white square bug in all apps is likely to occur.

14 years agoFinish fixing issue #2228381: android.view.InflateException...
Dianne Hackborn [Tue, 24 Nov 2009 19:26:00 +0000 (11:26 -0800)]
Finish fixing issue #2228381: android.view.InflateException...

...Binary XML file line #37: Error inflating class <unknown> after adding a secondary account

The problem was that we weren't dealing well with the situation where we start a transition
from activity A to B, then transition back to A before B is shown (it finishes before being
shown), then transition from A to C.  At this point we had some state showing that we
were in the process of showing A from it being hidden (due to the middle transition from
B to A), which would cause the layout pass to ensure its window is hidden before the
transition starts.

The solution is to detect the case where we are showing a token and it is already actually
shown, and in this case not do all of the token setup for it to wait for its windows to
be displayed before it is shown.  This isn't needed, the windows are already displayed
or the token is already set up to wait for them to be displayed.

Change-Id: I16925b91e1e2449dd65ade162a5758173c6e2695

14 years agoMerge change Iefdb6f97 into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 17:35:35 +0000 (09:35 -0800)]
Merge change Iefdb6f97 into eclair

* changes:
  Fixing minor doc typo in android.widget.SimpleCursorAdapter.

14 years agoRename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage. Do...
Ben Murdoch [Thu, 19 Nov 2009 18:14:53 +0000 (18:14 +0000)]
Rename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage. Do not merge.

BUG=b/2271636

This has already been submitted to eclair-mr2.

Change-Id: I81947f671f58be006ee3e1b30d73c6cb6cf2ebee

14 years agoUpdate JavaDoc for CacheManger.CacheResult, WebChromeClient.getDefaultVideoPoster...
Ben Murdoch [Thu, 19 Nov 2009 16:43:58 +0000 (16:43 +0000)]
Update JavaDoc for CacheManger.CacheResult, WebChromeClient.getDefaultVideoPoster and WebChromeClient.getVideoLoadingProgressView. Do not merge.

This has already been submitted to eclair-mr2.

Change-Id: Ibd184157a90b0031141c91c3b3bbbf4ef86e44e4

14 years agoImproves documentation for GeolocationPermissions class. Do not merge.
Steve Block [Thu, 19 Nov 2009 12:29:47 +0000 (12:29 +0000)]
Improves documentation for GeolocationPermissions class. Do not merge.

Also sets an explicit type for GeolocationPermissions.getOrigins.

This is a partial fix for bug http://b/issue?id=2271636

This has already been submitted to eclair-mr2.

Change-Id: I0c77eca94eb56d16c2a9a29a72eb221e4a7a52a6

14 years agoWhen using MDP, we needed to use a texture for diming.
Mathias Agopian [Tue, 24 Nov 2009 06:40:42 +0000 (22:40 -0800)]
When using MDP, we needed to use a texture for diming.

14 years agoFix simulator build.
Dave Sparks [Tue, 24 Nov 2009 03:51:33 +0000 (19:51 -0800)]
Fix simulator build.

14 years agoFix 2268841: Updated portrait tab lockscreen to match latest PPL.
Jim Miller [Tue, 24 Nov 2009 02:21:51 +0000 (18:21 -0800)]
Fix 2268841: Updated portrait tab lockscreen to match latest PPL.

14 years agoMerge change I0f9a53d4 into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 01:58:24 +0000 (17:58 -0800)]
Merge change I0f9a53d4 into eclair

* changes:
  Set metadata retriever thread group to the caller's group.

14 years agoMerge change I2d32301b into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 01:42:41 +0000 (17:42 -0800)]
Merge change I2d32301b into eclair

* changes:
  Add 4 new notification sounds.

14 years agoAdd 4 new notification sounds.
Dave Sparks [Tue, 24 Nov 2009 01:23:35 +0000 (17:23 -0800)]
Add 4 new notification sounds.

14 years agoSet metadata retriever thread group to the caller's group.
Dave Sparks [Tue, 24 Nov 2009 00:51:15 +0000 (16:51 -0800)]
Set metadata retriever thread group to the caller's group.

This patch modifies the native binder interface to the metadata
retriever to pass the caller's thread group across the binder
interface. On the server side, the thread scheduler group is
set to the caller's scheduler group temporarily and restored
after the request has completed. This patch also reverts a
previous patch where the priority of the thread was forced to
a low priority foreground thread.

This should give apps more control over the priority of their
metadata retrieval, particularly allow background process to
run without hogging the CPU.

14 years agoMerge change I36176536 into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 00:14:13 +0000 (16:14 -0800)]
Merge change I36176536 into eclair

* changes:
  Fix ref counting bug that could cause memory leak in allApps.

14 years agoFix issue #2281046: Size and pressure don't change
Dianne Hackborn [Mon, 23 Nov 2009 21:08:14 +0000 (13:08 -0800)]
Fix issue #2281046: Size and pressure don't change

Change-Id: Iadc1d438a494bb1495ee6d93d0dd3b4a491a378f

14 years agoFix ref counting bug that could cause memory leak in allApps.
Jason Sams [Mon, 23 Nov 2009 23:27:33 +0000 (15:27 -0800)]
Fix ref counting bug that could cause memory leak in allApps.

14 years agosdk doc change for esr: updates for android 1.6 r2, tools r4, api levels.
Dirk Dougherty [Thu, 19 Nov 2009 07:06:16 +0000 (23:06 -0800)]
sdk doc change for esr: updates for android 1.6 r2, tools r4, api levels.

Bug: 2160782
Change-Id: Ia576dc9b2312d89bbe194d94640c3cc79216067b

14 years agoMerge change Ie7096ebb into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 21:20:46 +0000 (13:20 -0800)]
Merge change Ie7096ebb into eclair

* changes:
  Add logging of headset events to help debug issue.

14 years agoAdd logging of headset events to help debug issue.
Eric Olsen [Mon, 23 Nov 2009 21:06:07 +0000 (13:06 -0800)]
Add logging of headset events to help debug issue.

Signed-off-by: Eric Olsen <eolsen@android.com>
14 years agoam 5e7f1fbe: Merge change Id2ee762d into eclair-sdk
Scott Main [Mon, 23 Nov 2009 21:04:27 +0000 (13:04 -0800)]
am 5e7f1fbe: Merge change Id2ee762d into eclair-sdk

Merge commit '5e7f1fbe161d7015dde6e893351238749f906c8a' into eclair

* commit '5e7f1fbe161d7015dde6e893351238749f906c8a':
  droiddoc change: add flag to offline docs build to signal

14 years agoMerge change Id2ee762d into eclair-sdk
Android (Google) Code Review [Mon, 23 Nov 2009 20:56:19 +0000 (12:56 -0800)]
Merge change Id2ee762d into eclair-sdk

* changes:
  droiddoc change: add flag to offline docs build to signal that we're building offline docs so that we do not generate all of the web pages for the sample apps source code.

14 years agoMerge change I1691f3d3 into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 19:57:08 +0000 (11:57 -0800)]
Merge change I1691f3d3 into eclair

* changes:
  Add CPUFREQ_STATS event tag DO NOT MERGE

14 years agoMerge change I2083b297 into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 19:11:55 +0000 (11:11 -0800)]
Merge change I2083b297 into eclair

* changes:
  Fix issue 2265111: Loss of downlink audio while listening, and get a MT call.

14 years agoFix issue #2267665 IME keyboard appears as Blank in compose view...
Dianne Hackborn [Sat, 21 Nov 2009 02:09:03 +0000 (18:09 -0800)]
Fix issue #2267665 IME keyboard appears as Blank in compose view...

...if you re-lunch messaging application after deleting the
character and pressing home key

Change-Id: Idc7da05e54730958644e80069764237e5db6f288

14 years agoMerge change Id886fb28 into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 18:36:32 +0000 (10:36 -0800)]
Merge change Id886fb28 into eclair

* changes:
  Fix deadlock in WindowManagerService.reenableKeyguard()

14 years agoMerge change I43f72dd1 into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 16:39:24 +0000 (08:39 -0800)]
Merge change I43f72dd1 into eclair

* changes:
  Don't block TIME_TICK broadcasts in the DigitalClock widget.

14 years agoMerge change Ia3acc2ee into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 05:54:29 +0000 (21:54 -0800)]
Merge change Ia3acc2ee into eclair

* changes:
  Fix pairings lost on reboot.

14 years agoFix deadlock in WindowManagerService.reenableKeyguard()
Mike Lockwood [Sun, 22 Nov 2009 06:42:24 +0000 (01:42 -0500)]
Fix deadlock in WindowManagerService.reenableKeyguard()

If reenableKeyguard() is called before the previous disableKeyguard() call is processed,
then TokenWatcher.sendNotificationLocked() will cancel the request, resulting in neither
the TokenWatcher acquired() or released() methods being called.
In that case, reenableKeyguard() will hang waiting for released() to set
mWaitingUntilKeyguardReenabled to false.  Now we only wait in reenableKeyguard()
if the TokenWatcher acquired() method is called and the keyguard has actually been disabled.

This should fix bug b/2270192

Change-Id: Id886fb28df607dbb4543124f2db6997121d6a682
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoAdd CPUFREQ_STATS event tag
Dan Egnor [Sat, 21 Nov 2009 19:06:50 +0000 (11:06 -0800)]
Add CPUFREQ_STATS event tag
DO NOT MERGE

14 years agoMerge change I49f02be9 into eclair
Android (Google) Code Review [Sat, 21 Nov 2009 08:18:24 +0000 (00:18 -0800)]
Merge change I49f02be9 into eclair

* changes:
  Issue 2265163: Audio still reported routed through earpiece on sholes

14 years agoam 160ab363: Merge change I0c172ebf into eclair-sdk
Scott Main [Sat, 21 Nov 2009 01:03:29 +0000 (17:03 -0800)]
am 160ab363: Merge change I0c172ebf into eclair-sdk

Merge commit '160ab363d738728456d561bb80d54d3448e7580a' into eclair

* commit '160ab363d738728456d561bb80d54d3448e7580a':
  docs change for ESR: add platform notes document for

14 years agoMerge change I0c172ebf into eclair-sdk
Android (Google) Code Review [Sat, 21 Nov 2009 00:59:57 +0000 (16:59 -0800)]
Merge change I0c172ebf into eclair-sdk

* changes:
  docs change for ESR: add platform notes document for Android 2.0.1. Also update the homepage sdk and adp announcements.

14 years agoDon't block TIME_TICK broadcasts in the DigitalClock widget.
Daniel Sandler [Fri, 20 Nov 2009 19:40:00 +0000 (14:40 -0500)]
Don't block TIME_TICK broadcasts in the DigitalClock widget.

This change applies the fix -- originally by phanna in
https://android-git.corp.google.com/g/#change,33669 -- to
the com.android.internal.widget version of DigitalClock,
which is used by the keyguard and pattern lock screens.

Change-Id: I43f72dd144423e55f73ba52903d52163c8f65591

14 years agodocs change for ESR: add platform notes document for
Scott Main [Thu, 19 Nov 2009 09:32:48 +0000 (01:32 -0800)]
docs change for ESR: add platform notes document for
Android 2.0.1. Also update the homepage sdk and adp announcements.

Bug: 2160782
Change-Id: I0c172ebf9449ac99865433b51a0a7366aa2ef020

14 years agoFix issue #2271668: Live Wallpaper Force-Close when changing from live wallpaper...
Dianne Hackborn [Sat, 21 Nov 2009 00:27:27 +0000 (16:27 -0800)]
Fix issue #2271668: Live Wallpaper Force-Close when changing from live wallpaper to picasa wallpaper

The detach of the wallpaper engine was coming in after the containing
service was destroyed.  This was possible because these are different
IPC interfaces so will not be serialized.  The fix is to keep track
of all of the active engines in the serice, and detach any remaining
ones when the service is destroyed.

Change-Id: I8810786a777dd4f7b15cfbd2e0da25866a4f3ec5

14 years agoMerge change If2b0bbed into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 23:12:33 +0000 (15:12 -0800)]
Merge change If2b0bbed into eclair

* changes:
  Debugging for issue #2228381 android.view.InflateException

14 years agoDebugging for issue #2228381 android.view.InflateException
Dianne Hackborn [Fri, 20 Nov 2009 22:26:42 +0000 (14:26 -0800)]
Debugging for issue #2228381 android.view.InflateException

Binary XML file line #37: Error inflating class <unknown> after adding a secondary account

Now that I have these debug logs, I want to keep them since they will make
debugging these kinds of issues a lot easier in the future.  (Note in this
case there was no problem in the framework.)

Change-Id: If2b0bbeda4706b7c5dc1ba4a5db04b74f40e1543

14 years agoMove updated 6.xml from eclair-sholes-release into eclair
Evan Millar [Fri, 20 Nov 2009 21:38:58 +0000 (13:38 -0800)]
Move updated 6.xml from eclair-sholes-release into eclair

bc_triaged bug: http://b/issue?id=2277456
Dr. No: Xav

14 years agoFix pairings lost on reboot.
Jaikumar Ganesh [Fri, 20 Nov 2009 21:41:07 +0000 (13:41 -0800)]
Fix pairings lost on reboot.

Bug:2277376
Dr No:Eastham

14 years agoMerge change I69324a33 into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 21:28:12 +0000 (13:28 -0800)]
Merge change I69324a33 into eclair

* changes:
  AlarmManagerService: Fix daylight savings time offset computation

14 years agoMerge change I0a17a960 into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 21:08:06 +0000 (13:08 -0800)]
Merge change I0a17a960 into eclair

* changes:
  sdk doc change for esr: Add api diff report 5->6. Update previous diff reports to fix false positives.

14 years agoAlarmManagerService: Fix daylight savings time offset computation
Mike Lockwood [Fri, 20 Nov 2009 20:12:51 +0000 (15:12 -0500)]
AlarmManagerService: Fix daylight savings time offset computation

Fixes b/2244560 (Time Stamp On Bug Reports And Pictures Is One Hour Off)

Change-Id: I69324a33f80e41ce68a0e6fdba08b80ed9453e19
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change Ib3191441 into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 19:59:28 +0000 (11:59 -0800)]
Merge change Ib3191441 into eclair

* changes:
  Add the checking for mediaplayer stress test.

14 years agoAdd the checking for mediaplayer stress test.
Yu Shan Emily Lau [Fri, 20 Nov 2009 19:50:39 +0000 (11:50 -0800)]
Add the checking for mediaplayer stress test.

14 years agosdk doc change for esr: Add api diff report 5->6. Update previous diff reports to...
Dirk Dougherty [Thu, 19 Nov 2009 00:52:02 +0000 (16:52 -0800)]
sdk doc change for esr: Add api diff report 5->6. Update previous diff reports to fix false positives.

Bug:2160782
Change-Id: I0a17a9603b53a46a3a434f29bcd72208af1a745b

14 years agodroiddoc change: add flag to offline docs build to signal
Scott Main [Fri, 20 Nov 2009 18:44:21 +0000 (10:44 -0800)]
droiddoc change: add flag to offline docs build to signal
that we're building offline docs so that we do not generate
all of the web pages for the sample apps source code.

This depends on change 33762 (sha I06c40454), meaning, this
will break the build without that.

Change-Id: Id2ee762de13f23c3da15d55e763c1838b11ac31c

14 years agoam 820a4e7d: docs change for ESD: add samples html pages for offline docs
Scott Main [Fri, 20 Nov 2009 17:54:52 +0000 (09:54 -0800)]
am 820a4e7d: docs change for ESD: add samples html pages for offline docs

Merge commit '820a4e7dd6adeff162a92ca40ebe2f109561036b' into eclair

* commit '820a4e7dd6adeff162a92ca40ebe2f109561036b':
  docs change for ESD: add samples html pages for offline docs

14 years agoam 6d95fc0a: docs for ESR: add docs to bluetooth explainin that discovery should...
Scott Main [Fri, 20 Nov 2009 17:54:22 +0000 (09:54 -0800)]
am 6d95fc0a: docs for ESR: add docs to bluetooth explainin that discovery should be cancelled before connecting to a device

Merge commit '6d95fc0a2ca910212a43c4547c0ef000659b72dc' into eclair

* commit '6d95fc0a2ca910212a43c4547c0ef000659b72dc':
  docs for ESR: add docs to bluetooth explainin that discovery should

14 years agoFix issue 2265111: Loss of downlink audio while listening, and get a MT call.
Eric Laurent [Fri, 20 Nov 2009 15:26:56 +0000 (07:26 -0800)]
Fix issue 2265111: Loss of downlink audio while listening, and get a MT call.

The cause of the problem is that under certain circumstance the HeadsetObserver receives unexpected connection events. For instance,
when removing a bad quality 3.5mm stereo jack without mic the following events can be received:
1 connection of a headset with mic
2 removal of a headset with mic.

The result is that the no mic headset is never disconnected and audio policy manager considers it is still present. Then the music or downlink call audio is always routed to headset even if none is connected giving the impression that audio is lost, except whne you reconnect a headset of enable speaker phone.

The fix consists in adding more checks in HeadsetObserver to reject illegal transitions in headset state received from event observer.

14 years agoIssue 2265163: Audio still reported routed through earpiece on sholes
Eric Laurent [Thu, 19 Nov 2009 17:00:56 +0000 (09:00 -0800)]
Issue 2265163: Audio still reported routed through earpiece on sholes

This is a second attempt to fix the audio routed to earpiece syndrom.
The root cause identified this time is the crash of an application having an active AudioTrack playing on the VOICE_CALL stream type.
When this happens, the AudioTrack destructor is not called and the audio policy manager is not notified of the track stop.
Results a situation where the VOICE_CALL stream is considered as always in use by audio policy manager which makes that audio is routed to earpiece.

The fix consists in moving the track start/stop/close notification to audio policiy manager from AudioTrack to AudioFlinger Track objet.
The net result is that in the case of a client application crash, the AudioFlinger TrackHandle object (which implements the remote side of the IAudioTrack binder interface) destructor is called which in turn destroys the Track object and we can notify the audio policy manager of the track stop and removal.

The same modification is made for AudioRecord although no bug related to record has been reported yet.
Also fixed a potential problem if record stop is called while the record thread is exiting.

14 years agodocs change for ESD: add samples html pages for offline docs
Scott Main [Fri, 20 Nov 2009 04:19:49 +0000 (20:19 -0800)]
docs change for ESD: add samples html pages for offline docs

bug: 2160782
Change-Id: I30fedc9e9b015ad035fa954ca0b1a19e846cca78

14 years agoMerge change I4f614c9e into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 04:17:06 +0000 (20:17 -0800)]
Merge change I4f614c9e into eclair

* changes:
  Add a test app that has 100 icons.  None of them do anything when clicked.

14 years agoAdd a test app that has 100 icons. None of them do anything when clicked.
Joe Onorato [Fri, 20 Nov 2009 04:15:27 +0000 (20:15 -0800)]
Add a test app that has 100 icons.  None of them do anything when clicked.

14 years agoMerge change I39f0003e into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 03:03:53 +0000 (19:03 -0800)]
Merge change I39f0003e into eclair

* changes:
  fix [2235414] libagl glDeleteBuffers() crashes

14 years agoMerge change I7d40ad9a into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 02:01:30 +0000 (18:01 -0800)]
Merge change I7d40ad9a into eclair

* changes:
  More on issue #2271640: Fix wallpaper etc docs

14 years agofix [2235414] libagl glDeleteBuffers() crashes
Mathias Agopian [Fri, 20 Nov 2009 01:32:05 +0000 (17:32 -0800)]
fix [2235414] libagl glDeleteBuffers() crashes

don't dereference null pointers, would happen if one of the array wasn't bound.

14 years agoMore on issue #2271640: Fix wallpaper etc docs
Dianne Hackborn [Fri, 20 Nov 2009 01:08:01 +0000 (17:08 -0800)]
More on issue #2271640: Fix wallpaper etc docs

Publish the features developers may be interested in.

Change-Id: I7d40ad9a9f4b9770e2f8dd1b0a729b0d322c062e

14 years agodocs for ESR: add docs to bluetooth explainin that discovery should
Scott Main [Fri, 20 Nov 2009 01:00:19 +0000 (17:00 -0800)]
docs for ESR: add docs to bluetooth explainin that discovery should
be cancelled before connecting to a device

bug: 2160782,2198463

14 years agoMerge change I137dac6f into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 00:23:29 +0000 (16:23 -0800)]
Merge change I137dac6f into eclair

* changes:
  backout a workaround that is not needed anymore

14 years agoMerge change I99194df1 into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 00:18:51 +0000 (16:18 -0800)]
Merge change I99194df1 into eclair

* changes:
  frameworks: base: dumpstate: Dump kernel cpufreq speeds.

14 years agoframeworks: base: dumpstate: Dump kernel cpufreq speeds.
Mike Chan [Fri, 20 Nov 2009 00:01:05 +0000 (16:01 -0800)]
frameworks: base: dumpstate: Dump kernel cpufreq speeds.

Change-Id: I99194df1d6c46254affef86ea8eb39e784c3dfb3
Signed-off-by: Mike Chan <mike@android.com>
14 years agobackout a workaround that is not needed anymore
Mathias Agopian [Thu, 19 Nov 2009 23:52:28 +0000 (15:52 -0800)]
backout a workaround that is not needed anymore

we had to add a call to glFinish() before glReadPixels() because of a bug in the GL ES
driver of a certain device. This is not needed anymore.

14 years agoMerge change I4c29c948 into eclair
Android (Google) Code Review [Thu, 19 Nov 2009 23:44:13 +0000 (15:44 -0800)]
Merge change I4c29c948 into eclair

* changes:
  fix [2269022] The raw picture displayed post shutter seems to have low-resolution

14 years agoMerge change I8134d6ed into eclair
Android (Google) Code Review [Thu, 19 Nov 2009 22:52:57 +0000 (14:52 -0800)]
Merge change I8134d6ed into eclair

* changes:
  DO NOT MERGE: Instead of inserting semi-random delays after submission to surface flinger, delay releasing buffers to the next display time to avoid flickering.

14 years agofix [2269022] The raw picture displayed post shutter seems to have low-resolution
Mathias Agopian [Thu, 19 Nov 2009 22:46:26 +0000 (14:46 -0800)]
fix [2269022] The raw picture displayed post shutter seems to have low-resolution

Make sure to always enable linear filtering in LayerBuffer. This change doesn't affect
devices using overlays.

14 years agoFix extended logging for object dumping.
Jason Sams [Thu, 19 Nov 2009 21:08:17 +0000 (13:08 -0800)]
Fix extended logging for object dumping.

14 years agoDO NOT MERGE: Instead of inserting semi-random delays after submission to surface...
Andreas Huber [Thu, 19 Nov 2009 19:22:36 +0000 (11:22 -0800)]
DO NOT MERGE: Instead of inserting semi-random delays after submission to surface flinger, delay releasing buffers to the next display time to avoid flickering.

14 years ago-hide AccountManagerResponse, which never should have been exposed in the first place
Fred Quintana [Thu, 19 Nov 2009 01:00:10 +0000 (17:00 -0800)]
-hide AccountManagerResponse, which never should have been exposed in the first place

14 years agoFix build.
Dianne Hackborn [Thu, 19 Nov 2009 05:15:59 +0000 (21:15 -0800)]
Fix build.

Change-Id: I3aeb4f374a99d5872ba19c04624aa1b5ca6cd5d0

14 years agoFix most of issue #2271640: Fix wallpaper etc docs
Dianne Hackborn [Thu, 19 Nov 2009 02:20:39 +0000 (18:20 -0800)]
Fix most of issue #2271640: Fix wallpaper etc docs

Only thing remaining is the live wallpaper feature.

Change-Id: I8854c7978999d759bf618307f4f984c9c89d3fc8

14 years agoam afcd516e: Merge change Iaae72f66 into eclair-sdk
Scott Main [Thu, 19 Nov 2009 01:12:35 +0000 (17:12 -0800)]
am afcd516e: Merge change Iaae72f66 into eclair-sdk

Merge commit 'afcd516e3e6378aaf97ff44b0b9ea233223ded65' into eclair

* commit 'afcd516e3e6378aaf97ff44b0b9ea233223ded65':
  docs: misc edits to samples page and intro docs

14 years agoMerge change I941136fd into eclair
Android (Google) Code Review [Thu, 19 Nov 2009 01:00:16 +0000 (17:00 -0800)]
Merge change I941136fd into eclair

* changes:
  Fix bug 2271468 Update the javadoc for MediaRecorder.AudioSource to define how the two new audio sources behave when used on devices that don't support them.

14 years agoMerge change I813fdb7a into eclair
Android (Google) Code Review [Thu, 19 Nov 2009 00:20:32 +0000 (16:20 -0800)]
Merge change I813fdb7a into eclair

* changes:
  Fixes for proximity sensor behavior:

14 years agoFix bug 2271468 Update the javadoc for MediaRecorder.AudioSource
Jean-Michel Trivi [Thu, 19 Nov 2009 00:15:12 +0000 (16:15 -0800)]
Fix bug 2271468 Update the javadoc for MediaRecorder.AudioSource
to define how the two new audio sources behave when used on devices
that don't support them.

14 years agoFixes for proximity sensor behavior:
Mike Lockwood [Wed, 18 Nov 2009 20:37:10 +0000 (15:37 -0500)]
Fixes for proximity sensor behavior:

Add optional flag to Wakelock.release() to specify whether we should wait for proximity sensor to go negative before turning on the screen.
Clear the "waiting for proximity sensor to go negative" state when the power key is pressed.

Part of the fix for b/2243198 (Black screen lockup after ending call)

Change-Id: I813fdb7aa4192cd3384a25be9e59d7d4b90da53a
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I5ad37324 into eclair
Android (Google) Code Review [Wed, 18 Nov 2009 23:09:18 +0000 (15:09 -0800)]
Merge change I5ad37324 into eclair

* changes:
  Fix issue #2262563: 40 ANR reports from com.android.settings in dogfooding sholes running ERD43