summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAlan Leung <acleung@google.com>2016-07-13 10:59:54 -0700
committerAlan Leung <acleung@google.com>2016-07-19 01:30:43 +0000
commit402aee85a3a98fb1cc9b468798cc6d6d1aee9093 (patch)
treee5d76228bf9cdb626227122b5c51e501f5fd407f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd6c5a064609241d747b6aa68207f33dc7cc9bddf (diff)
Fix thread priority after boosting.
The previous CL wrongly restores all priority to nice 0. This CL changes two things: 1. It remembers and restores the previous priority. 2. If the thread has priority of < -2. Do not set it to -2. BUG: 29930920 Change-Id: I927e060d789c9bbf92f6a166f44317d9db0f5205 (cherry picked from commit d6e67e6a165e0f1161090730996f5e82d3b6421b)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions