Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 22d9f2c3 authored by Kweku Adams's avatar Kweku Adams
Browse files

Add cumulative execution limit for UI jobs.

Add a limit on the total execution time (across multiple execution
instances) of a user-initiated job so that they can't be used
as a pseudo-indefinite keep-alive mechanism. For now, we set the limit
to 24 hours after which the job will be downgraded to a regular job.

Bug: 261999509
Bug: 269139553
Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest
Test: atest FrameworksMockingServicesTests:FlexibilityControllerTest
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Test: atest FrameworksMockingServicesTests:JobStatusTest
Test: atest FrameworksServicesTests:JobStoreTest
Change-Id: Ie14eb3755e1daae050973f81661ba50a05759252
parent 2b03be6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment