summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2023-11-03 16:12:00 +0000
committer Kweku Adams <kwekua@google.com> 2023-11-03 18:11:28 +0000
commit539279fe0520a623e648abd5ae3efb3a3bb535f7 (patch)
treef6dca7450818bc58ca545db6c424e2917cec4147 /libs/androidfw/FileStream.cpp
parentb1df623732cf5bdd64070c527815d83aae738955 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions