Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cf4edc1 authored by Roshan Pius's avatar Roshan Pius
Browse files

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
parent 9bed14ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -404,6 +404,7 @@ applications that come with the platform
        <permission name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION" />
        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
        <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.WRITE_MEDIA_STORAGE"/>
        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
+3 −0
Original line number Diff line number Diff line
@@ -539,6 +539,9 @@
    <!-- Permission required for CTS test - CtsRotationResolverServiceDeviceTestCases -->
    <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"
                android:theme="@android:style/Theme.DeviceDefault.DayNight"
                android:defaultToDeviceProtectedStorage="true"