OSDN Git Service

android-x86/frameworks-native.git
14 years agoMerge change I771bebb9 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 20:55:38 +0000 (12:55 -0800)]
Merge change I771bebb9 into eclair

* changes:
  Add Java exceptions to catch RS calls with no context or no surface.

14 years agoFix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.
Eric Laurent [Mon, 7 Dec 2009 18:53:10 +0000 (10:53 -0800)]
Fix issue  2306779: Runtime restart - Init failed at android.media.ToneGenerator.

The ToneGenerator failed to initialize because no more tracks were available in AudioFlinger mixer.

All tracks were used because the duplicating output was failing to free the tracks on audio hardware output mixer when exiting due to a misplaced test on output activity: output tracks where only freed if the duplicating output was active when exiting.

The fix consists in freeing the output tracks when the duplicating thread is destroyed without condition.

14 years agoMerge change I9cc489a2 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 19:00:54 +0000 (11:00 -0800)]
Merge change I9cc489a2 into eclair

* changes:
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

14 years agoMerge change Ibb9b1de1 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 18:51:16 +0000 (10:51 -0800)]
Merge change Ibb9b1de1 into eclair

* changes:
  1) Capture the start memory before the test started 2) Report the mem diff to zero if it is negative.

14 years agoFix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent ...
Eric Laurent [Sat, 5 Dec 2009 13:20:01 +0000 (05:20 -0800)]
Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

Fixed AudioFlinger::openInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e
so that an invalid IO handle (0) is returned in case of failure.
Applied the same correction to openOutput().
Modified RecordThread start procedure so that a failure occuring during the first read from audio input stream is detected and causes
the record start to fail.
Modified RecordThread stop procedure to make sure that audio input stream fd is closed before we exit the stop function.

Fixed AudioRecord JAVA and JNI implementation to take status of native AudioRecord::start() into account
and not change mRecordingState to RECORDSTATE_RECORDING if start fails.

14 years agoRevert "When using MDP, we needed to use a texture for diming."
Dima Zavin [Mon, 7 Dec 2009 08:17:06 +0000 (00:17 -0800)]
Revert "When using MDP, we needed to use a texture for diming."

This reverts commit bf0c320afbf6bf2441916755ecb443b64afbe73f.

14 years agoMerge change Ibe1c422a into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 22:59:43 +0000 (14:59 -0800)]
Merge change Ibe1c422a into eclair

* changes:
  If the usage stats file doesn't exist in the first place there is no need to backup and short return.

14 years agoMerge change I397b6a93 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 20:51:44 +0000 (12:51 -0800)]
Merge change I397b6a93 into eclair

* changes:
  Don't accidentally signal multiple exceptions in setThreadPriority()

14 years agoMerge change I8c5f2fc3 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 18:22:47 +0000 (10:22 -0800)]
Merge change I8c5f2fc3 into eclair

* changes:
  Fix invalidate code path (#2273209).

14 years agoMerge change I8b63ab66 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 06:14:19 +0000 (22:14 -0800)]
Merge change I8b63ab66 into eclair

* changes:
  Better animation for sliding widget.

14 years agoMerge change Iaa7edda4 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 01:10:59 +0000 (17:10 -0800)]
Merge change Iaa7edda4 into eclair

* changes:
  don't reschedule syncs that failed with a tooManyRetries error

14 years agoMerge change Ic73ec39b into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 00:15:46 +0000 (16:15 -0800)]
Merge change Ic73ec39b into eclair

* changes:
  DO NOT MERGE. Implement WAR which should prevent the white square bug from appearing on user devices.  If we see a 0 texture id during bind for rendering, attempt to re-upload.  If this fails log debug info and restart the app.

14 years agoMerge change Ia70bd8c4 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 00:06:52 +0000 (16:06 -0800)]
Merge change Ia70bd8c4 into eclair

* changes:
  add BluetoothChat sample app to the dev guide

14 years agoMerge change I00d0b54a into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 23:30:23 +0000 (15:30 -0800)]
Merge change I00d0b54a into eclair

* changes:
  surfaceflinger: remove un-cached buffer hack for SGX

14 years agosurfaceflinger: remove un-cached buffer hack for SGX
Erik Gilling [Thu, 3 Dec 2009 22:08:19 +0000 (14:08 -0800)]
surfaceflinger: remove un-cached buffer hack for SGX

Signed-off-by: Erik Gilling <konkers@android.com>
14 years agoMerge change I79420b02 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 19:49:38 +0000 (11:49 -0800)]
Merge change I79420b02 into eclair

* changes:
  Add support for Car Dock.

14 years agoMerge change I33e0f00e into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 19:40:22 +0000 (11:40 -0800)]
Merge change I33e0f00e into eclair

* changes:
  docs: fix markup error in xml sample

14 years agoMerge change I9ef88863 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 18:59:25 +0000 (10:59 -0800)]
Merge change I9ef88863 into eclair

* changes:
  Add WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR to indicate screen was turned off by the proximity sensor.

14 years agoMerge change Id5fa58cf into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 18:24:18 +0000 (10:24 -0800)]
Merge change Id5fa58cf into eclair

* changes:
  Fix timezone issue to comply with EXIF standard.

14 years agoMerge change Ica5efffe into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 05:01:20 +0000 (21:01 -0800)]
Merge change Ica5efffe into eclair

* changes:
  Fix bug 2216426: correct the hdpi star assets for RatingBar.

14 years agoMerge change I7b9328c7 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 02:51:19 +0000 (18:51 -0800)]
Merge change I7b9328c7 into eclair

* changes:
  Fix issue #2300232: Bugs in resolving conflicting pointers

14 years agoMerge change Iaa6e73a6 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 02:21:49 +0000 (18:21 -0800)]
Merge change Iaa6e73a6 into eclair

* changes:
  Revive backup tests

14 years agoMerge change Id86beb99 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 01:09:46 +0000 (17:09 -0800)]
Merge change Id86beb99 into eclair

* changes:
  fix [2291418] Camera preview cannot work in Emulator

14 years agoMerge change Icc49422a into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 00:24:15 +0000 (16:24 -0800)]
Merge change Icc49422a into eclair

* changes:
  Implement new notification LED blinking logic:

14 years agofix [2291418] Camera preview cannot work in Emulator
Mathias Agopian [Thu, 3 Dec 2009 00:23:11 +0000 (16:23 -0800)]
fix [2291418] Camera preview cannot work in Emulator

The image buffer used by glTexImage2d() would be uninitialized when no copybit engine
can be found.
We now always initialize images, since the abscence of copybit is not necessarily fatal.

14 years agoMerge change If1f0bf33 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 00:17:54 +0000 (16:17 -0800)]
Merge change If1f0bf33 into eclair

* changes:
  Some work on issue #2286804: sometimes text field doesn't accept input

14 years agoMerge change I721361f1 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 00:02:58 +0000 (16:02 -0800)]
Merge change I721361f1 into eclair

* changes:
  Add a new priority for Auto Connection of A2DP. DO NOT MERGE.

14 years agoMerge change I9fb53a9c into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 23:40:17 +0000 (15:40 -0800)]
Merge change I9fb53a9c into eclair

* changes:
  add screenshots for the Bluetooth Chat sample app

14 years agoMerge change Id0704505 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 23:01:35 +0000 (15:01 -0800)]
Merge change Id0704505 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change Iae3ed706 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 16:35:55 +0000 (08:35 -0800)]
Merge change Iae3ed706 into eclair

* changes:
  Add new setting for notification light pulsing. Bug #2238250

14 years agoMerge change Ic8231560 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 06:41:22 +0000 (22:41 -0800)]
Merge change Ic8231560 into eclair

* changes:
  sdk doc change for esr: update download zip filenames, add maxSdkVersion warning, misc other changes.

14 years agoMerge change Iac196e17 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 06:39:33 +0000 (22:39 -0800)]
Merge change Iac196e17 into eclair

* changes:
  Fix issue 2292062: Audio freezes for three seconds when choosing ringtones with a headset connected and music playing.

14 years agoMerge change I0e44976a into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 02:01:25 +0000 (18:01 -0800)]
Merge change I0e44976a into eclair

* changes:
  fix [2297155] SurfaceFlinger's freeze-timeout doesn't work

14 years agofix [2297155] SurfaceFlinger's freeze-timeout doesn't work
Mathias Agopian [Wed, 2 Dec 2009 01:23:28 +0000 (17:23 -0800)]
fix [2297155] SurfaceFlinger's freeze-timeout doesn't work

There was bug in the logic that calculated the relative timeout, the start time was
reset each time an event was received, which caused the timeout to never occur if
an application was constantly redrawing.

Now we always check for a timeout when we come back from the waitEvent() and
process the "anti-freeze" if needed, regardless of whether an event was received.

14 years agoMerge change I0d8f7593 into eclair
Android (Google) Code Review [Tue, 1 Dec 2009 23:57:50 +0000 (15:57 -0800)]
Merge change I0d8f7593 into eclair

* changes:
  Fix issue #2296457: PackageManager.addPackageToPreferred needs to a no-op

14 years agoMerge change I0b6ee9fc into eclair
Android (Google) Code Review [Tue, 1 Dec 2009 22:49:23 +0000 (14:49 -0800)]
Merge change I0b6ee9fc into eclair

* changes:
  DATE_TAKEN should be in millisecond instead of second.

14 years agoFix issue 2292062: Audio freezes for three seconds when choosing ringtones with a...
Eric Laurent [Tue, 1 Dec 2009 10:17:41 +0000 (02:17 -0800)]
Fix issue 2292062: Audio freezes for three seconds when choosing ringtones with a headset connected and music playing.

The problem comes from a deadlock with AudioPolicyService mutex: When the second ringtone starts,
this mutex is locked by AudioPolicyService::startOutput() which in turn calls setParameters() to change the output device.
Audioflinger::ThreadBase::setParameters() signals the parameter change to the AudioFlinger mixer thread and waits for a condition
indicating that the parameter change has been processed.
At the same time, the mixer thread detects that the audio track corresponding to the first ring tone has been killed and calls its destructor.
This calls AudioPolicyService::releaseOutput() which tries to lock the AudioPolicyService mutex.
If this happens before the mixer thread can process the setParameters() command we are deadlocked.
The deadlock ends because setParameters() uses a timeout when waiting for the condition.

This regression was introduced by change 33736 fixing issue 2265163.

The fix consists in calling AudioPolicyService::releaseOutput() from Track::destroy() instead of from Track destructor: as detroy() is never called from the mixer thread loop (as opposed to the destructor) the deadlock described above cannot occur.

14 years agoMerge change I21a67b8d into eclair
Android (Google) Code Review [Tue, 1 Dec 2009 01:38:57 +0000 (17:38 -0800)]
Merge change I21a67b8d into eclair

* changes:
  docs: remove droid-specific behavior change from platform notes

14 years agoMerge change I5f24a240 into eclair
Android (Google) Code Review [Tue, 1 Dec 2009 01:00:43 +0000 (17:00 -0800)]
Merge change I5f24a240 into eclair

* changes:
  Register Handsfree profile before headset profile. DO NOT MERGE.

14 years agoMerge change I2b7c8a32 into eclair
Android (Google) Code Review [Tue, 1 Dec 2009 00:39:53 +0000 (16:39 -0800)]
Merge change I2b7c8a32 into eclair

* changes:
  Fix more of bug 2290852: Don't wake screen when bluetooth headset is connected or disconnected.

14 years agoMerge change I0e200c3c into eclair
Android (Google) Code Review [Tue, 1 Dec 2009 00:35:18 +0000 (16:35 -0800)]
Merge change I0e200c3c into eclair

* changes:
  Sending UCS2 encoded SMS correctly

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

14 years agoMerge change Iaae72f66 into eclair-sdk
Android (Google) Code Review [Wed, 18 Nov 2009 22:08:08 +0000 (14:08 -0800)]
Merge change Iaae72f66 into eclair-sdk

* changes:
  docs: misc edits to samples page and intro docs make samples page accessible from offline version instead of redirecting to the user filesystem and include instructions for creating projects based on the sample apps. fix a link and add some content to the What is android doc.

14 years agoMerge change I9f239766 into eclair
Android (Google) Code Review [Wed, 18 Nov 2009 21:26:30 +0000 (13:26 -0800)]
Merge change I9f239766 into eclair

* changes:
  Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout

14 years agoMerge change Icfc893d2 into eclair
Android (Google) Code Review [Wed, 18 Nov 2009 20:38:30 +0000 (12:38 -0800)]
Merge change Icfc893d2 into eclair

* changes:
  Fix for 2267410 : Battery use doesn't show CPU usage on non-wiped devices

14 years agoMerge change I587dd820 into eclair
Android (Google) Code Review [Wed, 18 Nov 2009 06:53:44 +0000 (22:53 -0800)]
Merge change I587dd820 into eclair

* changes:
  Fix 2268841: Much better looking layout for pattern lock screen.

14 years agoMerge change Id7c432bf into eclair
Android (Google) Code Review [Wed, 18 Nov 2009 01:51:37 +0000 (17:51 -0800)]
Merge change Id7c432bf into eclair

* changes:
  Add vertical bar to the alt-space character picker for the hardware keyboard.