From 5a24bb9f91b8868379f25cd38063f2f86d986432 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Thu, 1 Apr 2021 09:18:35 -0700 Subject: [PATCH] Add a new uwb ranging runtime permission This will be part of the nearby devices permission group. Bug: 183904955 Test: Compiles Change-Id: I83ce43a893cef699b2c40918998cf9c6d3131507 --- core/api/current.txt | 1 + core/res/AndroidManifest.xml | 8 ++++++++ core/res/res/values/strings.xml | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/core/api/current.txt b/core/api/current.txt index 10851e881246f..0d4999db89a32 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -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"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index fc264f313d709..333c8f0be226a 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1955,6 +1955,14 @@ android:label="@string/permlab_bluetooth_connect" android:protectionLevel="dangerous" /> + + + Allows the app to connect to paired Bluetooth devices + + range to devices using ultra-wideband + + Allows the app to range to devices using ultra-wideband + Preferred NFC Payment Service Information