commit | 0cf236fd4fa5cfbab1486da18ed599b93d75e1e7 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Tue Feb 16 16:45:07 2021 +0000 |
committer | Rubin Xu <rubinxu@google.com> | Mon Feb 22 13:27:41 2021 +0000 |
tree | 5537bd915626d23cc64fee19c2ddd67fd88f41a8 | |
parent | 0f6dc03cc7c8a341eefdb46857844d331eab95f8 [diff] |
Add new Device Owner APIs to control WiFi configurations * getCallerConfiguredNetworks Returns a list of WiFi networks configured by the caller, without requiring fine location permission * removeNonDeviceOwnerConfiguredNetworks Removes any networks that are not configured by the device owner app. Bug: 169311939 Test: atest FrameworksWifiTests Test: atest DeviceOwnerTest#testWifiNetworkConfigurationWithoutFineLocationPermission Change-Id: Icfc0cceac571408dc79d944b071a1fc10356e918