sm8350-common: Add hotword priv app permissions
Change-Id: Ic936e852cb77fe47c0ce69465b7a3717c2619b7e
This commit is contained in:
parent
a555d6afac
commit
ec2683f06c
@ -240,6 +240,10 @@ PRODUCT_PACKAGES += \
|
|||||||
libhidltransport.vendor \
|
libhidltransport.vendor \
|
||||||
libhwbinder.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
|
# Init scripts
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/rootdir/etc/init.batterysecret.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.batterysecret.rc \
|
$(LOCAL_PATH)/rootdir/etc/init.batterysecret.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.batterysecret.rc \
|
||||||
|
12
configs/privapp-permissions-hotword.xml
Normal file
12
configs/privapp-permissions-hotword.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user