Remove NOT_RESTRICTED from basic network requests.
JobScheduler only ever tells a job to run on the default network. If the connectivity stack says an app's default network is a restricted network, then the app has permission to use that restricted network. However, default NetworkRequests exclude restricted networks by default. Removing this exclusion for basic job NetworkRequests so that a job can run on a restricted network if the app is allowed to do so. Bug: 219788183 Test: atest CtsJobSchedulerTestCases:JobInfoTest Change-Id: I3c2b9f725c7e1254c7708f5b8df7bdf18163608e
Loading
Please register or sign in to comment