Commit Graph

5192 Commits

Author SHA1 Message Date
Eric Laurent
7b57085a73 AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.
This problem was encountered as a side effect of issue 2245298.
2009-11-09 04:45:39 -08:00
Android (Google) Code Review
5dc4fb0849 Merge change Ifb9d6df3 into eclair
* changes:
  More log for issue 2242381.
2009-11-08 22:58:34 -08:00
Android (Google) Code Review
f50a4a3836 Merge change Ic42763b1 into eclair
* changes:
  Fix issue #2242440: Window screen brightness attribute is broken
2009-11-08 18:07:14 -08:00
Android (Google) Code Review
fab47869b3 Merge change I1bc566a1 into eclair
* changes:
  Ignore the light sensor if the screen is turning off.
2009-11-08 15:51:02 -08:00
Christopher Tate
07d69893e1 Reset binder service threads' cgroup/priority after command completion
To prevent buggy command implementations from poisoning binder threads'
scheduling class & priority for future command execution, we now reset the
cgroup and thread priority to foreground/normal when a binder service thread
finishes executing the designated command.

Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f
2009-11-08 14:29:02 -08:00
Android (Google) Code Review
f84570e7af Merge change I32d41651 into eclair
* changes:
  Allow a GLThread to release and reacquire the EGL Surface as needed.
2009-11-08 10:19:59 -08:00
Android (Google) Code Review
c670a9cc3b Merge change I62704736 into eclair
* changes:
  Do not apply light sensor debounce logic while the light sensor is still warming up.
2009-11-07 18:11:06 -08:00
Eric Laurent
ee47d43ed3 More log for issue 2242381.
Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.
2009-11-07 01:18:20 -08:00
Android (Google) Code Review
982b02c442 Merge change I47ef4266 into eclair
* changes:
  Expose WallpaperSettingsActivity in the public API.
2009-11-07 01:05:34 -05:00
Android (Google) Code Review
dbc95f6560 Merge change I32ce8591 into eclair
* changes:
  Stop scrolling ListView when tapping a clickable item.
2009-11-06 21:29:56 -05:00
Android (Google) Code Review
80482a8254 Merge change I9f3020db into eclair
* changes:
  fix [2243164] live wallpaper screen artifacts at end of boot
2009-11-06 20:08:35 -05:00
Android (Google) Code Review
c322be4d66 Merge change Ia4424950 into eclair
* changes:
  Fix stupid bug in GLThreadManager implementation.
2009-11-06 19:00:54 -05:00
Scott Main
67dc76a446 am 0e08055a: Merge change I14a9acd3 into eclair-sdk
Merge commit '0e08055aa31c752732005fc48b09ee470a2c4822' into eclair

* commit '0e08055aa31c752732005fc48b09ee470a2c4822':
  docs: add new document for the win usb driver;
2009-11-06 15:41:28 -08:00
Android (Google) Code Review
ead5bb7e70 Merge change Ic8093c11 into eclair
* changes:
  Hold a lock while we access the preview heap.
2009-11-06 17:03:52 -05:00
Android (Google) Code Review
236ffad0f2 Merge change I14a9acd3 into eclair-sdk
* changes:
  docs: add new document for the win usb driver; remove usb guide from the device document.
2009-11-06 16:57:12 -05:00
Android (Google) Code Review
d086c1cd50 Merge change Idc1396c8 into eclair
* changes:
  Only use FLAG_ACTIVITY_CLEAR_TOP on the search intent when from global search.
2009-11-06 16:56:51 -05:00
Android (Google) Code Review
83d64f3eb9 Merge change Icdd2864e into eclair
* changes:
  b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
2009-11-06 16:23:42 -05:00
Android (Google) Code Review
717d0873e7 Merge change Ie994c0e8 into eclair
* changes:
  Update CdmaSmsTest unit test.
2009-11-06 15:58:20 -05:00
Android (Google) Code Review
029474aa86 Merge change I3f0ded49 into eclair
* changes:
  Increase light sensor delay from one to two seconds.
2009-11-06 15:55:52 -05:00
Android (Google) Code Review
046c4120a5 Merge change Ibf6e51b7 into eclair
* changes:
  Set argv[0] from the main thread of an app, not a random binder thread
2009-11-06 15:00:31 -05:00
Android (Google) Code Review
af5c80227f Merge change I97b30e2f into eclair
* changes:
  Revert jparks code from IPCThreadState.
2009-11-06 14:49:39 -05:00
Dave Sparks
23c21baf27 Hold a lock while we access the preview heap.
copyFrameAndPostCopiedFrame was not holding a lock while it accessed
the preview heap. If the client process is torn down while the heap
is accessed, the memcpy could access memory that was deallocated.

This patch creates a local sp reference to the preview heap while
holding the lock, then releases the lock. This should prevent the
heap from being pulled out from underneath us.
2009-11-06 11:47:13 -08:00
Android (Google) Code Review
3d490a0c2a Merge change I6ccd2ebc into eclair
* changes:
  Expose PowerManager.isScreenOn in the public api.
2009-11-06 14:39:22 -05:00
Evan Millar
6dfe8f1ffa Revert jparks code from IPCThreadState. 2009-11-06 11:25:23 -08:00
Android (Google) Code Review
c948ba7f7f Merge change I4e9fe62b into eclair
* changes:
  do not merge -- original checkin to mr2 here:
2009-11-06 14:23:14 -05:00
Xavier Ducrohet
1ef5d4730b am 91bb62f0: New API 4 with new CDMA constants.
Merge commit '91bb62f0dc002065cb1932a96fecf15c1b92b6e9' into eclair

* commit '91bb62f0dc002065cb1932a96fecf15c1b92b6e9':
  New API 4 with new CDMA constants.
2009-11-06 10:00:29 -08:00
Android (Google) Code Review
bd63507a56 Merge change Ic997acac into eclair
* changes:
  Make AudioPlayer a little less verbose, defer starting audio playback until after the first video frame has been decoded (if there's video at all).
2009-11-06 11:27:03 -05:00
Android (Google) Code Review
c47c0789be Merge change I44d4cbec into eclair
* changes:
  Fix some SMS encode issues.
2009-11-06 03:07:01 -05:00
Android (Google) Code Review
91af123791 Merge change Ic9568e39 into eclair
* changes:
  When tasks are moved to top or bottom, the app tokens are being rearranged. The window token rearrangement is defered if an animation is underway. Force a focus recomputation when the window tokens are finally rearranged so that we have a valid focused window.
2009-11-06 02:12:40 -05:00
Android (Google) Code Review
b472673929 Merge change I971f6fd3 into eclair
* changes:
  Improve GLSurfaceView to avoid deadlocks and race conditions.
2009-11-06 01:23:52 -05:00
Android (Google) Code Review
2f88725b51 Merge change Ie71d9e42 into eclair
* changes:
  Another test for StatusBar test.
2009-11-05 22:20:02 -05:00
Android (Google) Code Review
ae34e5b744 Merge change I2c6e54e4 into eclair
* changes:
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:29:54 -05:00
Android (Google) Code Review
d3fa28d41e Merge change Id0267cc0 into eclair
* changes:
  Add needsOtaServiceProvisioning and used to not allow data calls until the device is provisioned.
2009-11-05 19:25:11 -05:00
Android (Google) Code Review
cfb74fc818 Merge change I4b03c2cd into eclair
* changes:
  Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java
2009-11-05 19:15:56 -05:00
Android (Google) Code Review
d4f7b8bb60 Merge change I1dc2ae28 into eclair
* changes:
  Fix bug 2242585 to unhide the new audio recording sources. Unhide CAMCORDER and VOICE_RECOGNITION in android.media.MediaRecorder
2009-11-05 19:03:09 -05:00
Android (Google) Code Review
653e129a82 Merge change Idf40f3b0 into eclair
* changes:
  Prevent crash in Home when using widgets whose ids collide with Home's resources.
2009-11-05 18:42:14 -05:00
Romain Guy
471afca7fc Prevent crash in Home when using widgets whose ids collide with Home's
resources.

Bug #2228943.

Approved by mcleron, triaged by ryanpc.

Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2
2009-11-05 15:40:35 -08:00
Android (Google) Code Review
b12789a828 Merge change I0e27b5ca into eclair
* changes:
  Fix texture upload bug for narrow texture of less than 32bpp.
2009-11-05 17:39:56 -05:00
Android (Google) Code Review
d0e907b258 Merge change I21d0dca3 into eclair
* changes:
  Add BMW kits made by Motorola PCS to autoblack list for Bluetooth.
2009-11-05 17:15:51 -05:00
Android (Google) Code Review
cc4a63efab Merge change Ie80e2381 into eclair
* changes:
  DO NOT MERGE: Squashed commit of the following:
2009-11-05 16:50:34 -05:00
Android (Google) Code Review
cfe0ef2427 Merge change I14fb81af into eclair
* changes:
  Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn
2009-11-05 16:08:40 -05:00
Android (Google) Code Review
6b248dfea7 Merge change Ia4eedace into eclair
* changes:
  Now that UseBuffer on this component is fixed, let's use it.
2009-11-05 16:01:50 -05:00
Android (Google) Code Review
b8f8446c46 Merge change Id1458b01 into eclair
* changes:
  New live wallpaper API to expose author and description strings.
2009-11-05 15:53:25 -05:00
Android (Google) Code Review
7919cd02fa Merge change I48cbd0bc into eclair
* changes:
  remove the SubscribedFeedsProvider since it has been moved to vendor/google
2009-11-05 14:15:54 -05:00
Android (Google) Code Review
a868f443a4 Merge change I93f500a5 into eclair
* changes:
  Fix issue 2203561: Sholes: audio playing out of earpiece.
2009-11-05 02:55:26 -05:00
Android (Google) Code Review
d9f4705d89 Merge change I09282f5b into eclair
* changes:
  Fix the build (hopefully.)
2009-11-04 21:33:27 -05:00
Android (Google) Code Review
5132bf73d4 Merge change I9490271c into eclair
* changes:
  Add BluetoothDevice to SDK AIDL list.
2009-11-04 20:32:00 -05:00
Android (Google) Code Review
d8e35f8a4c Merge change I4499ad72 into eclair
* changes:
  Fix bad merge fixes build breakage.
2009-11-04 20:27:11 -05:00
Android (Google) Code Review
e9dab9cf84 Merge change I3bbfb4f9 into eclair
* changes:
  Remove unused field and add new API to control the children drawing order.
2009-11-04 19:58:00 -05:00
Android (Google) Code Review
9eaa8e4623 Merge change I76127f6f into eclair
* changes:
  Add support for colored LED on jogball backlight.
2009-11-04 19:39:29 -05:00