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

Commit bc45d452 authored by Kweku Adams's avatar Kweku Adams
Browse files

Include BAL factor in UI job scheduling.

Don't allow apps to schedule user-initiated jobs unless they're in the
TOP state or can launch activities from the background.

Also, give immediacy privilege to the jobs if the apps are in a BAL
state.

Bug: 261999509
Test: atest CtsJobSchedulerTestCases:JobSchedulingTest
Test: atest CtsJobSchedulerTestCases:JobInfoTest
Test: atest CtsJobSchedulerTestCases:JobParametersTest
Test: atest CtsJobSchedulerTestCases:UserInitiatedJobTest
Test: atest FrameworksMockingServicesTests:JobConcurrencyManagerTest
Change-Id: Id781d3fb8a9249160948c17d6127cc13996e9af5
parent db63d9a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment