summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2024-02-13 06:17:26 +0000
committer Kweku Adams <kwekua@google.com> 2024-02-13 08:15:34 +0000
commitbd6ba76b87a5cf22510e5b40e9be24b0a677b498 (patch)
tree82d50ade59297b1e29bc4b05b445125a3241fba3 /libs/hwui/FrameInfoVisualizer.cpp
parentfe177f2b091b942ddf3af2a256fee94de7f61087 (diff)
Revert^2 "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 Test: atest com.android.federatedcompute.services.encryption.BackgroundKeyFetchJobServiceTest#testScheduleJob_notNeeded Change-Id: I04a3c0ca10cddde3052f0cd757ac5a01ced78c7e
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions