diff options
| author | 2022-09-13 20:43:32 +0000 | |
|---|---|---|
| committer | 2022-09-16 02:18:45 +0000 | |
| commit | ae9ea5f3d9f9a2193bba679dfd347191591e79f4 (patch) | |
| tree | 5fed0a7c09cb31cb17723cf038aa95f03951d1df /libs/input/SpriteController.cpp | |
| parent | 1143a2980585b828649e90119e612a8508e867e9 (diff) | |
Add a way to disable non-wakeup alarm deferral.
AlarmManager normally delays non-wakeup alarms when the screen is off.
However, tests that depend on components that want to use non-wakeup
alarms while the screen is off will be flaky with this deferral. Make it
possible to disable the deferral for tests. We may also decide to
disable this behavior altogether, so use DeviceConfig to allow
experimentation.
Also fix long comparison overflow issue in AlarmQueue.
Bug: 245987711
Test: atest CtsJobSchedulerTestCases:FlexibilityConstraintTest
Test: atest FrameworksMockingServicesTests:AlarmQueueTest
Change-Id: I35f1299d551eb7099adfecd13449f53fef88de02
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions