From 1773d825ec63ff4a55c61388eb92deb576a20d66 Mon Sep 17 00:00:00 2001 From: chaptsand Date: Sat, 6 Apr 2024 16:12:40 +0800 Subject: [PATCH] sm8550-common: Sync keystore feature permissions with stock Change-Id: I9f0b136ef222728724f6b36a873273323539a9bc --- common.mk | 5 ++++- ...android.hardware.hardware_keystore_v200.xml | 18 ++++++++++++++++++ .../android.hardware.strongbox_keystore_v4.xml | 16 ++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 configs/permissions/android.hardware.hardware_keystore_v200.xml create mode 100644 configs/permissions/android.hardware.strongbox_keystore_v4.xml diff --git a/common.mk b/common.mk index 79946bd..c4cb511 100644 --- a/common.mk +++ b/common.mk @@ -236,9 +236,12 @@ PRODUCT_PACKAGES += \ android.hardware.security.sharedsecret-V1-ndk.vendor PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml \ frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/permissions/android.hardware.hardware_keystore_v200.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hardware_keystore.xml \ + $(LOCAL_PATH)/configs/permissions/android.hardware.strongbox_keystore_v4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.strongbox_keystore.xml + # Media PRODUCT_PACKAGES += \ libavservices_minijail \ diff --git a/configs/permissions/android.hardware.hardware_keystore_v200.xml b/configs/permissions/android.hardware.hardware_keystore_v200.xml new file mode 100644 index 0000000..2ebf1fe --- /dev/null +++ b/configs/permissions/android.hardware.hardware_keystore_v200.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/configs/permissions/android.hardware.strongbox_keystore_v4.xml b/configs/permissions/android.hardware.strongbox_keystore_v4.xml new file mode 100644 index 0000000..da20885 --- /dev/null +++ b/configs/permissions/android.hardware.strongbox_keystore_v4.xml @@ -0,0 +1,16 @@ + + + + + +