From d18fe9e3ceda59cc0178efc5f55a9afe2e733b02 Mon Sep 17 00:00:00 2001 From: Seth Moore Date: Tue, 5 Apr 2022 13:56:11 -0700 Subject: [PATCH] Add new privileged permission for unique id attestation This permission will eventually replace the sepolicy that we have now, making it possible to test unique id attestation, which is no longer possible due to the deprecation of shared uids. Skipping automerger because the framework manifest has diverged too much across aosp and tm-dev to allow for clean auto merges, and presubmits block. Test: KeyAttestationTest Bug: 216778747 Merged-In: Iecde35b9a79456b293118d8089dd2a3b0905f5f3 Change-Id: Iecde35b9a79456b293118d8089dd2a3b0905f5f3 --- core/api/test-current.txt | 1 + core/res/AndroidManifest.xml | 6 ++++++ packages/Shell/AndroidManifest.xml | 3 +++ 3 files changed, 10 insertions(+) diff --git a/core/api/test-current.txt b/core/api/test-current.txt index 6b588f94ea451..59db4d6b284cf 100644 --- a/core/api/test-current.txt +++ b/core/api/test-current.txt @@ -34,6 +34,7 @@ package android { field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE"; field public static final String RECORD_BACKGROUND_AUDIO = "android.permission.RECORD_BACKGROUND_AUDIO"; field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS"; + field public static final String REQUEST_UNIQUE_ID_ATTESTATION = "android.permission.REQUEST_UNIQUE_ID_ATTESTATION"; field public static final String RESET_APP_ERRORS = "android.permission.RESET_APP_ERRORS"; field public static final String SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS = "android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS"; field public static final String START_TASKS_FROM_RECENTS = "android.permission.START_TASKS_FROM_RECENTS"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index b87befba2f59a..f81ac3dd6dd88 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3409,6 +3409,12 @@ + + + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index feee4a138a350..c934bd0044171 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -606,6 +606,9 @@ + + +