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

Skip to content
Commit 539279fe authored by Kweku Adams's avatar Kweku Adams
Browse files

Remove network bypass flags for non-connectivity jobs.

If a job doesn't say that it needs network, then there's no reason to
ensure that the app has access to network while the job is running.
Currently, the network restriction bypass flags are only given to
expedited or user-initiated jobs. Don't include the flags when the job
doesn't require connectivity to avoid accidental network usage/leakage.

Bug: 297106511
Bug: 299329948
Bug: 299346198
Test: atest CtsJobSchedulerTestCases:ConnectivityConstraintTest
Test: atest CtsJobSchedulerTestCases:ExpeditedJobTest
Change-Id: I9c632595f27655a977d6b084760839ce02c8c07b
parent b1df6237
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