summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-01-04 11:58:04 -0800
committerEric Laurent <elaurent@google.com>2011-01-12 18:28:25 -0800
commit41f4d4d84790f49a0771c3ebfd12d87a5b879f94 (patch)
tree46202c299f6ad14ed6f46d4131912688fa926b68 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parente9739d09cb53fd05cc9229049b3d54c7f6816450 (diff)
Fix issue 3302649.
The cause of the problem is that AudioTrack::start() can fail if it is called from a newly created thread that has the same ID as the AudioTrack callback thread that has just been stopped and not yet exited. This is possible as the thread ID used by the Thread class is not the TID. The fix consists in clearing the thread ID before exiting the thread loop. Change-Id: I8b5f6a63feeaeb9a01267380e85f6f1456e7aa01
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions