New runtime permission NEARBY_WIFI_DEVICES am: a8395ffa3a am: 82e8d9610a am: 63ec453b79 am: f1703ffa6b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1863287 Change-Id: I69913964521b754edca3713f6ee10c165648a1e1
This commit is contained in:
@@ -113,6 +113,7 @@ package android {
|
||||
field public static final String MODIFY_PHONE_STATE = "android.permission.MODIFY_PHONE_STATE";
|
||||
field public static final String MOUNT_FORMAT_FILESYSTEMS = "android.permission.MOUNT_FORMAT_FILESYSTEMS";
|
||||
field public static final String MOUNT_UNMOUNT_FILESYSTEMS = "android.permission.MOUNT_UNMOUNT_FILESYSTEMS";
|
||||
field public static final String NEARBY_WIFI_DEVICES = "android.permission.NEARBY_WIFI_DEVICES";
|
||||
field public static final String NFC = "android.permission.NFC";
|
||||
field public static final String NFC_PREFERRED_PAYMENT_INFO = "android.permission.NFC_PREFERRED_PAYMENT_INFO";
|
||||
field public static final String NFC_TRANSACTION_EVENT = "android.permission.NFC_TRANSACTION_EVENT";
|
||||
|
||||
@@ -1982,6 +1982,14 @@
|
||||
android:label="@string/permlab_uwb_ranging"
|
||||
android:protectionLevel="dangerous" />
|
||||
|
||||
<!-- Required to be able to advertise and connect to nearby devices via Wi-Fi.
|
||||
<p>Protection level: dangerous -->
|
||||
<permission android:name="android.permission.NEARBY_WIFI_DEVICES"
|
||||
android:permissionGroup="android.permission-group.UNDEFINED"
|
||||
android:description="@string/permdesc_nearby_wifi_devices"
|
||||
android:label="@string/permlab_nearby_wifi_devices"
|
||||
android:protectionLevel="dangerous" />
|
||||
|
||||
<!-- @SystemApi @TestApi Allows an application to suspend other apps, which will prevent the
|
||||
user from using them until they are unsuspended.
|
||||
@hide
|
||||
|
||||
@@ -1488,6 +1488,11 @@
|
||||
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=120]-->
|
||||
<string name="permdesc_uwb_ranging">Allow the app to determine relative position between nearby Ultra-Wideband devices</string>
|
||||
|
||||
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=50]-->
|
||||
<string name="permlab_nearby_wifi_devices">interact with nearby Wi\u2011Fi devices</string>
|
||||
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=120]-->
|
||||
<string name="permdesc_nearby_wifi_devices">Allows the app to advertise, connect, and determine the relative position of nearby Wi\u2011Fi devices</string>
|
||||
|
||||
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
|
||||
<string name="permlab_preferredPaymentInfo">Preferred NFC Payment Service Information</string>
|
||||
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
|
||||
|
||||
Reference in New Issue
Block a user