Shell: Allow usage of UwbManager ranging API

This permission is needed for uwb CTS ranging specific tests.

Is the minimally scoped permission that needs to be added?
- Yes, this only allows the app to range to uwb devices.

What options did you explore that did not need this permission?
- Without this permission, it would be impossible to test the raning
UwbManager API which is protected by UWB_RANGING + UWB_PRIVILEGED.

Bug: 183747097
Test: Compiles
Change-Id: I23fc60a111fd7d868e3982d71ffa354ea9957bfb
This commit is contained in:
Roshan Pius
2021-04-19 13:43:30 -07:00
parent 958f9efba5
commit 0662c37218

View File

@@ -458,6 +458,7 @@
<!-- Permission required for CTS test - CtsUwbTestCases -->
<uses-permission android:name="android.permission.UWB_PRIVILEGED" />
<uses-permission android:name="android.permission.UWB_RANGING" />
<application android:label="@string/app_label"
android:theme="@android:style/Theme.DeviceDefault.DayNight"