summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@android.com>2009-12-04 11:05:12 -0800
committerChristopher Tate <ctate@android.com>2009-12-04 11:07:48 -0800
commit41c4bea27c7dca0223a418296182f46a82e5a050 (patch)
treeb91e0fa5c2834beab39b5783e519fe25274ff013 /graphics/java/android/renderscript/Script.java
parent48a65d99cba33db3af2e05982a6825b883be2030 (diff)
Don't accidentally signal multiple exceptions in setThreadPriority()
After signalling an exception due to set_sched_policy() failing (probably because the thread in question had exited before this function was called), we proceeded to call setpriority() anyway, and raised *another* exception when it also failed. We don't do this any more; we just bail after signalling the first exception. Change-Id: I397b6a93c73d3f0870176e26759f2bec33e56205
Diffstat (limited to 'graphics/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions