summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2024-02-09 13:05:30 +0000
committer Kweku Adams <kwekua@google.com> 2024-02-09 13:59:03 +0000
commit9c9e8d6b04ce409db7382f6a7cb7bbec2a4b97a2 (patch)
tree4cb627241e394b2cd3a7943f6070532cb33099e8 /libs/input/SpriteController.cpp
parent08d765d4a39651ce28e0a4535a4f308f9f7a8585 (diff)
Handle negative delays and deadlines.
Some apps are scheduling jobs with negative delays and deadlines. This is invalid input that can lead to incorrect behavior when used in calculations. Set a floor for delays and deadlines so that negatives are no longer propagated and throw a target SDK gated exception for the invalid input. Bug: 323349338 Test: atest CtsJobSchedulerTestCases:JobInfoTest Change-Id: I524cf83d4f60e72a874c6272c30c348a04de00ba
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions