sm8350-common: Add hotword priv app permissions

Change-Id: Ic936e852cb77fe47c0ce69465b7a3717c2619b7e
This commit is contained in:
Erfan Abdi 2021-12-18 07:37:10 +03:30 committed by Arian
parent a555d6afac
commit ec2683f06c
2 changed files with 16 additions and 0 deletions

View File

@ -240,6 +240,10 @@ PRODUCT_PACKAGES += \
libhidltransport.vendor \
libhwbinder.vendor
# HotwordEnrollement
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
# Init scripts
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/init.batterysecret.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.batterysecret.rc \

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.android.hotwordenrollment.okgoogle">
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="com.android.hotwordenrollment.xgoogle">
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
</permissions>