Go to file
Eric Laurent f5aba82cb7 Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing.
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.

The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.

Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
2009-08-11 09:43:09 -07:00
awt Removed system/framework/android.awt.jar. 2009-07-02 14:11:33 -05:00
camera/libcameraservice Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
cmds Fix network order for marshalling in keystore interface. 2009-08-10 16:13:00 +08:00
im/java/android/im auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
include Expose a variation of the createRenderer API that works on a plain Surface. 2009-08-10 12:58:05 -07:00
libs Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing. 2009-08-11 09:43:09 -07:00
opengl workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
vpn/java/android/net/vpn Issue an error when VPN connection is lost. 2009-08-03 16:22:24 +08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE Start using CLDR for some date-and-time strings and formats. 2009-05-15 10:15:50 -07:00