diff options
| author | Cody Kesting <ckesting@google.com> | 2021-05-11 14:22:40 -0700 |
|---|---|---|
| committer | Cody Kesting <ckesting@google.com> | 2021-05-25 13:43:48 -0700 |
| commit | 7474f67454b3a73ef314e5fbe4a937df71ff5e02 (patch) | |
| tree | 4693b30d69673faf84f495a6ce7554e55fa949a1 /tests/unit/java/com/android/server/NsdServiceTest.java | |
| parent | fc592e8bc0e7cb0b6a22354a47f4128cd23bbbcb (diff) | |
Require location permission for ConnDiags WiFi only.
This CL updates ConnectivityDiagnostics permission checks in
ConnectivityService to only require location permission for Networks
that have TRANSPORT_WIFI. This change is consistent with the location
restrictions required for the transports themselves. Previously,
location permissions were required for all Network types.
Bug: 187310575
Test: atest ConnectivityServiceTest ConnectivityDiagnosticsManagerTest
Change-Id: I48806533e4e705d2d9be45f3b3d3931d9294b167
Diffstat (limited to 'tests/unit/java/com/android/server/NsdServiceTest.java')
0 files changed, 0 insertions, 0 deletions
