diff options
author | Mikhail Naganov <mnaganov@google.com> | 2021-03-18 17:57:47 -0700 |
---|---|---|
committer | Mikhail Naganov <mnaganov@google.com> | 2021-03-18 17:57:47 -0700 |
commit | 3c412a228533ff5188a597b9737d977cb95a078e (patch) | |
tree | 559c1ace5179cff4ee8e4ba3413f6a1b853992ec /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | fa304e1f71854ab7eca9ece1806acbc52b9d869d (diff) |
SchedulingPolicyService: add extra check for the target UID
When audio HAL is asking to boost priority of its I/O thread
it passes TID to the audio service. To reduce the chance of
boosting priority of a wrong thread due to PID wrapping,
ensure that the target thread belongs to the right UID.
Bug: 181148259
Test: manual validation of thread priorities
Change-Id: I73dc30492b292bede95e6fc38f318ef966f417ca
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions