diff options
author | Alan Leung <acleung@google.com> | 2016-07-13 10:59:54 -0700 |
---|---|---|
committer | Alan Leung <acleung@google.com> | 2016-07-14 22:06:05 +0000 |
commit | d6e67e6a165e0f1161090730996f5e82d3b6421b (patch) | |
tree | 622189d15ad11caa54db6a82be82f7627c8523f4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 87df5f6ded502f088cd530d90c08f238fbb375a0 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions