diff options
| author | 2024-02-09 13:05:30 +0000 | |
|---|---|---|
| committer | 2024-02-09 13:59:03 +0000 | |
| commit | 9c9e8d6b04ce409db7382f6a7cb7bbec2a4b97a2 (patch) | |
| tree | 4cb627241e394b2cd3a7943f6070532cb33099e8 /libs/input/SpriteController.cpp | |
| parent | 08d765d4a39651ce28e0a4535a4f308f9f7a8585 (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