Shell: Allow usage of UwbManager APIs
This permission is needed for uwb CTS 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 any of the UwbManager API's. Bug: 183747097 Test: Compiles Change-Id: Ie4264cdcd3f84c965da70f8f8fefe538378c47f6
This commit is contained in:
@@ -404,6 +404,7 @@ applications that come with the platform
|
|||||||
<permission name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION" />
|
<permission name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION" />
|
||||||
<permission name="android.permission.UPDATE_APP_OPS_STATS"/>
|
<permission name="android.permission.UPDATE_APP_OPS_STATS"/>
|
||||||
<permission name="android.permission.USE_RESERVED_DISK"/>
|
<permission name="android.permission.USE_RESERVED_DISK"/>
|
||||||
|
<permission name="android.permission.UWB_PRIVILEGED"/>
|
||||||
<permission name="android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE"/>
|
<permission name="android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE"/>
|
||||||
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
|
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
|
||||||
<permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
|
<permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
|
||||||
|
|||||||
@@ -539,6 +539,9 @@
|
|||||||
<!-- Permission required for CTS test - CtsRotationResolverServiceDeviceTestCases -->
|
<!-- Permission required for CTS test - CtsRotationResolverServiceDeviceTestCases -->
|
||||||
<uses-permission android:name="android.permission.MANAGE_ROTATION_RESOLVER" />
|
<uses-permission android:name="android.permission.MANAGE_ROTATION_RESOLVER" />
|
||||||
|
|
||||||
|
<!-- Permission required for CTS test - CtsUwbTestCases -->
|
||||||
|
<uses-permission android:name="android.permission.UWB_PRIVILEGED" />
|
||||||
|
|
||||||
<application android:label="@string/app_label"
|
<application android:label="@string/app_label"
|
||||||
android:theme="@android:style/Theme.DeviceDefault.DayNight"
|
android:theme="@android:style/Theme.DeviceDefault.DayNight"
|
||||||
android:defaultToDeviceProtectedStorage="true"
|
android:defaultToDeviceProtectedStorage="true"
|
||||||
|
|||||||
Reference in New Issue
Block a user