Merge commit 'df4cf29715146d67306595108c565d9848a6ae1a' into eclair-plus-aosp
* commit 'df4cf29715146d67306595108c565d9848a6ae1a':
redraw once more on a touch-up if we've been dragging, so we can redraw in high-quality mode
Merge commit '6d9eebe7320637f0256c077ba5ed6724b5a4ab0d' into eclair-plus-aosp
* commit '6d9eebe7320637f0256c077ba5ed6724b5a4ab0d':
Move backlight brightness from HardwareService to PowerManager
Merge commit '0ae011b6f6d709d840f60f25df2046c9545a10a2' into eclair-plus-aosp
* commit '0ae011b6f6d709d840f60f25df2046c9545a10a2':
change to use the new CALLER_IS_SYNCADAPTER flag
Merge commit '74a0b8209e0228bb48739a4b25e489e2eba2a2c4' into eclair-plus-aosp
* commit '74a0b8209e0228bb48739a4b25e489e2eba2a2c4':
DockObserver wakes the display when broadcasting a change
Merge commit '1cd403eaac24e0e84619dea07e2d1d60e58e1fd2' into eclair-plus-aosp
* commit '1cd403eaac24e0e84619dea07e2d1d60e58e1fd2':
Add SurfaceView API to put surface on top of window.
Merge commit '70f74b79c3e4c88e0e7b747796f76187e4ea8259' into eclair-plus-aosp
* commit '70f74b79c3e4c88e0e7b747796f76187e4ea8259':
Assemble WAP datagram correctly when segments arrive out of order
Merge commit 'db6d939d2bbf457b1caa5479a60dae5e90d023e1' into eclair-plus-aosp
* commit 'db6d939d2bbf457b1caa5479a60dae5e90d023e1':
if the cursor and focus don't match, match them on text view clicks
Merge commit 'df344375a93f3bfe0360f5436c0866f44b7fb6cc' into eclair-plus-aosp
* commit 'df344375a93f3bfe0360f5436c0866f44b7fb6cc':
compute Y scroll max by scaling only, ignoring title bar height
Merge commit '5adeba4b7f63081257f9d0fb65127bdce0399c79' into eclair-plus-aosp
* commit '5adeba4b7f63081257f9d0fb65127bdce0399c79':
special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to
* changes:
special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to round "out" these, to account for the slop in antialiasing, rather than using the existing routines that (correctly) round.
Merge commit 'e80534ff59b2e62a0ddf4359147b81f5ba10de86' into eclair-plus-aosp
* commit 'e80534ff59b2e62a0ddf4359147b81f5ba10de86':
Fix connection ID issue in Obex lib
Merge commit '2bccbcc777ca48a08663c16e90ea3f76ace6eb07' into eclair-plus-aosp
* commit '2bccbcc777ca48a08663c16e90ea3f76ace6eb07':
Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.
Merge commit 'f73f91c5b1f66bbe4b3ca59b743a62ad5a65853f' into eclair-plus-aosp
* commit 'f73f91c5b1f66bbe4b3ca59b743a62ad5a65853f':
PowerManagerService: Use 5 cm threshold for the proximity sensor.
Merge commit '244f8c26365a303d9dd861bd48a29a4b48578da1' into eclair-plus-aosp
* commit '244f8c26365a303d9dd861bd48a29a4b48578da1':
Fix 2083478: Camera needs an auto-focus cancel API
The problem comes from the fact that when the duplicated output is closed after BT headset disconnection, the OUTPUT_CLOSED notification is not sent to AudioSystem. Then the mapping between notification stream and duplicated output cached in AudioSystem is not cleared and next time a notification is played, the duplicated output is selected and the createTrack() request is refused by AudioFlinger as the selected output doesn't exist.
The notification is ignored by AudioFlinger because when it is sent by the terminating playback thread, the thread has already been removed from the playback thread list.
The fix consists in sending the notification in closeOutput() and not when exiting the playback thread.
The same fix is applied to record threads.
Merge commit '54c06152e0d9c666aec61ae5d9686d7d3327ea34' into eclair-plus-aosp
* commit '54c06152e0d9c666aec61ae5d9686d7d3327ea34':
Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
Merge commit '678b4c20cb92ac2b86f13e52ea86d70301358680' into eclair-plus-aosp
* commit '678b4c20cb92ac2b86f13e52ea86d70301358680':
Various fixed for back key handling.