diff options
author | Chris.CC Lee <chriscclee@google.com> | 2022-05-04 20:05:41 +0800 |
---|---|---|
committer | Chris.CC Lee <chriscclee@google.com> | 2022-05-10 00:31:04 +0800 |
commit | 0da6cc84cbd6dcd75a685b4a4d4601550ca02510 (patch) | |
tree | fa8826a70536c9c8ead74baf897f3e516baa760a /default-permissions.xml | |
parent | 47289054c36ff15ba1bd8307063e98b6f21ee1ee (diff) | |
download | cuttlefish-0da6cc84cbd6dcd75a685b4a4d4601550ca02510.tar.gz |
[Cuttlefish] Add NEARBY_WIFI_DEVICES for Restore
We used ACCESS_FINE_LOCATION to start a WiFi P2P connection. From
Android T, the required permission is changed to NEARBY_WIFI_DERVICES
instead.
Bug: 219855567
Test: Manual tested on Oriole. Used a local built Restore APK which
declares the use of the permission. Push that APK to the test Oriole and
validate the permission is granted by default.
Change-Id: Ie509e7a0a6a5328c6dd6d13ed7a965b69bf0f534
Diffstat (limited to 'default-permissions.xml')
-rw-r--r-- | default-permissions.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/default-permissions.xml b/default-permissions.xml index eb50a4d0c..f6c09ba11 100644 --- a/default-permissions.xml +++ b/default-permissions.xml @@ -54,7 +54,9 @@ <permission name="android.permission.READ_CALL_LOG" fixed="false"/> <permission name="android.permission.WRITE_CALL_LOG" fixed="false"/> <!-- Used to set up a Wi-Fi P2P network --> + <!-- TODO(b/231966826): Remove the location permission after Restore targets to T. --> <permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/> + <permission name="android.permission.NEARBY_WIFI_DEVICES" fixed="false"/> </exception> <exception |