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

Commit 43158d47 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
Merged-In: Ie4264cdcd3f84c965da70f8f8fefe538378c47f6
parent c773d42a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -383,6 +383,7 @@ applications that come with the platform
        <permission name="android.permission.SUSPEND_APPS" />
        <permission name="android.permission.SUSPEND_APPS" />
        <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"/>
+3 −0
Original line number Original line Diff line number Diff line
@@ -387,6 +387,9 @@
    <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
    <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
    <uses-permission android:name="android.permission.SCHEDULE_PRIORITIZED_ALARM" />
    <uses-permission android:name="android.permission.SCHEDULE_PRIORITIZED_ALARM" />


    <!-- 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"