diff options
author | Kweku Adams <kwekua@google.com> | 2021-01-08 15:37:52 -0800 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-01-12 14:33:27 -0800 |
commit | 7445d1efb8d7d58962823c55d8a75f44b7644a5d (patch) | |
tree | c6bfad5605e8166e44f2c81c4b6c30daabf73cb6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dae30affe732cea67d06d1f0c06304cc5630e2e1 (diff) |
Correctly update expedited job connectivity constraint.
Expedited jobs punch through firewalls due to their elevated procstate.
However, the proc state isn't elevated until the job starts, so we can't
wait for a callback from the networking stack to mark the connectivity
constraint as satisfied (as long as the network exists). This
firewall-hole-punch-after-elevated-procstate is the same behavior that
foreground services see, so expedited jobs will get the same treatment.
Bug: 176922022
Bug: 171305774
Test: atest CtsJobSchedulerTestCases
Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest
Change-Id: I844a5ec2157f1ec3cee1574584eea2960e1a3b62
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions