Go to file
Dave Sparks ff0f38e6fe Fix potential deadlock in stopPreview/stopRecord.
Some camera HALs spin up a preview thread and need to wait for
the thread to exit. This can create a potential deadlock. In
stopPreview, we take the main lock. If a preview callback occurs
while the lock is held, the preview thread will block. If the
camera HAL is waiting for the preview thread to exit, this will
cause a deadlock.

This patch breaks out the preview buffer heap into a separate
mutex. This mutex is never held when the main lock is held, thus
preventing the deadlock from occuring.
2009-11-10 17:08:08 -08:00
awt Removed system/framework/android.awt.jar. 2009-07-02 14:11:33 -05:00
camera/libcameraservice Fix potential deadlock in stopPreview/stopRecord. 2009-11-10 17:08:08 -08:00
cmds keystore: remove old implementation and test. 2009-09-24 13:35:26 +08:00
include Merge change I36d0184e into eclair 2009-11-02 21:26:54 -05:00
libs AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer. 2009-11-09 04:45:39 -08:00
opengl fix [2071412] work around mdp 32-bits fade limitation 2009-11-09 17:55:59 -08:00
vpn/java/android/net/vpn Remove deprecated VpnType.getDescription(). 2009-09-30 18:39:48 +08:00
MODULE_LICENSE_APACHE2
NOTICE Start using CLDR for some date-and-time strings and formats. 2009-05-15 10:15:50 -07:00