diff options
| author | 2022-10-14 16:35:19 +0000 | |
|---|---|---|
| committer | 2022-10-14 16:38:49 +0000 | |
| commit | c28117e1d92d3df1596e00a0a20e2561f6593789 (patch) | |
| tree | eab0ef64922d3642243b261b93d07e27e56824cd /libs/androidfw/ResourceTimer.cpp | |
| parent | 0e9b53140847cbe7b57823297670cfef918091be (diff) | |
Try to avoid IndexOutOfBoundsException.
Add a limit to the number of dropped constraints and stop modifying the
number of required and dropped constraints independently to prevent the
code from creating invalid indices at random times. Also fix some of the
tests and make them more robust.
Bug: 253237201
Test: atest --rerun-until-failure 25 CtsJobSchedulerTestCases:FlexibilityConstraintTest
Test: atest --rerun-until-failure 25 FrameworksMockingServicesTests:FlexibilityControllerTest
Change-Id: I072da5c6271eecc3e8a7e3983f414c752d40cba8
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions