Add a new uwb ranging runtime permission
This will be part of the nearby devices permission group. Bug: 183904955 Test: Compiles Change-Id: I83ce43a893cef699b2c40918998cf9c6d3131507
This commit is contained in:
@@ -174,6 +174,7 @@ package android {
|
||||
field public static final String USE_FULL_SCREEN_INTENT = "android.permission.USE_FULL_SCREEN_INTENT";
|
||||
field public static final String USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER = "android.permission.USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER";
|
||||
field public static final String USE_SIP = "android.permission.USE_SIP";
|
||||
field public static final String UWB_RANGING = "android.permission.UWB_RANGING";
|
||||
field public static final String VIBRATE = "android.permission.VIBRATE";
|
||||
field public static final String WAKE_LOCK = "android.permission.WAKE_LOCK";
|
||||
field public static final String WRITE_APN_SETTINGS = "android.permission.WRITE_APN_SETTINGS";
|
||||
|
||||
@@ -1955,6 +1955,14 @@
|
||||
android:label="@string/permlab_bluetooth_connect"
|
||||
android:protectionLevel="dangerous" />
|
||||
|
||||
<!-- Required to be able to range to devices using uwb.
|
||||
<p>Protection level: dangerous -->
|
||||
<permission android:name="android.permission.UWB_RANGING"
|
||||
android:permissionGroup="android.permission-group.UNDEFINED"
|
||||
android:description="@string/permdesc_uwb_ranging"
|
||||
android:label="@string/permlab_uwb_ranging"
|
||||
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
|
||||
|
||||
@@ -1485,6 +1485,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_bluetooth_connect" product="default">Allows the app to connect to paired Bluetooth 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_uwb_ranging">range to devices using ultra-wideband</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_uwb_ranging" product="default">Allows the app to range to devices using ultra-wideband</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