mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
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
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user