Skip to content
Commit fb0f9717 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

NetworkCapabilities needs UID to be satisfied.

A recently added NetworkCapabilities feature expects that a
NetworkRequest defines a real UID in order for it to be satisfied
by a VPN-based network.

So when creating our JobStatus inside the system (either from a new
external request, or from a persisted job on disk), splice in the
source UID of the job, so that VPNs start matching.

Test: bit CtsJobSchedulerTestCases:*
Bug: 72765718, 73418534
Change-Id: Id611a98fee8f53cea92f7a22ec02f7f6d8a4c534
parent f6669931
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