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

Commit a7a97c85 authored by Victor Hsieh's avatar Victor Hsieh
Browse files

Grant Shell SETUP_FSVERITY permission

The permission was recently added to a new API in V in order to limit
the initial launch scope from 3P apps. To keep CTS test coverage, grant
shell the permission.

Bug: 285185747
Test: atest android.security.cts.FileIntegrityManagerTest
Change-Id: I0f22aaef6b5d6418d4ea12557b1e81b3fa5eb7af
parent df7351f6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -594,6 +594,8 @@ applications that come with the platform
        <permission name="android.permission.EMERGENCY_INSTALL_PACKAGES" />
        <!-- Permission required for Cts test - CtsSettingsTestCases -->
        <permission name="android.permission.PREPARE_FACTORY_RESET" />
        <!-- Permission required for CTS test - FileIntegrityManagerTest -->
        <permission name="android.permission.SETUP_FSVERITY" />
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -934,6 +934,9 @@
    <!-- Permission required for Cts test - CtsSettingsTestCases -->
    <uses-permission android:name="android.permission.PREPARE_FACTORY_RESET" />

    <!-- Permission required for CTS test - FileIntegrityManagerTest -->
    <uses-permission android:name="android.permission.SETUP_FSVERITY" />

    <application
        android:label="@string/app_label"
        android:theme="@android:style/Theme.DeviceDefault.DayNight"