summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramStore.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-04 11:58:04 -0800
commit730ba19bc8c097fdcbee3adb04e86d435640bb72 (patch)
treebe2dc030fe91f723e708a652dea7da9ee30b3690 /graphics/java/android/renderscript/ProgramStore.java
parent8f49c025ca5b4ed84290fb9e5e0b7acb1c139b35 (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: I66e679665c384403cb3ba2c31746f5de72d5836d
Diffstat (limited to 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions