diff options
| author | 2024-04-17 08:13:28 -0700 | |
|---|---|---|
| committer | 2024-04-17 11:56:19 -0700 | |
| commit | a7a97c85bc99911c571afd43f5fb65afe9e9c64a (patch) | |
| tree | b2af1ff53a1e9402da71c808fe19fa1407bd450d | |
| parent | df7351f6977cacaade53c2de416f214cbaebbe7e (diff) | |
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
| -rw-r--r-- | data/etc/privapp-permissions-platform.xml | 2 | ||||
| -rw-r--r-- | packages/Shell/AndroidManifest.xml | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index fc4277e60bc5..82d2381012e5 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -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"> diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index b94e224850aa..46bf494f2b1a 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -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" |