summaryrefslogtreecommitdiff
path: root/default-permissions.xml
diff options
context:
space:
mode:
authorChris.CC Lee <chriscclee@google.com>2022-05-04 19:57:44 +0800
committerChris Lee <chriscclee@google.com>2022-05-10 15:39:31 +0000
commitb5d322b061c2b8d19ddfe187a28235fbab40da9e (patch)
tree46af111f1be778cc2feb2677bfd4e1caecf81d4c /default-permissions.xml
parent562b9dc3243d1451800c209f9039918f913bc24e (diff)
downloadgs201-b5d322b061c2b8d19ddfe187a28235fbab40da9e.tar.gz
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: I5d23f973e4ca40a5364f7523e4adb79f2a0b119a
Diffstat (limited to 'default-permissions.xml')
-rw-r--r--default-permissions.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/default-permissions.xml b/default-permissions.xml
index 8a67c9b..a47d385 100644
--- a/default-permissions.xml
+++ b/default-permissions.xml
@@ -77,7 +77,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"/>
<!-- Notifications -->
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception>