sm8450-common: Add hotword enrollment permissions
Change-Id: I4ddb3dcf85ab45b02808cbe3d28cb8caa2858dca
This commit is contained in:
parent
1b19defb5c
commit
3f91949f18
2 changed files with 18 additions and 0 deletions
|
@ -197,6 +197,10 @@ PRODUCT_PACKAGES += \
|
||||||
libhidltransport.vendor \
|
libhidltransport.vendor \
|
||||||
libhwbinder.vendor
|
libhwbinder.vendor
|
||||||
|
|
||||||
|
# Hotword Enrollement
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
||||||
|
|
||||||
# Identity
|
# Identity
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.identity-V3-ndk_platform.vendor \
|
android.hardware.identity-V3-ndk_platform.vendor \
|
||||||
|
|
14
configs/privapp-permissions-hotword.xml
Normal file
14
configs/privapp-permissions-hotword.xml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<permissions>
|
||||||
|
<privapp-permissions package="com.android.hotwordenrollment.okgoogle">
|
||||||
|
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
|
||||||
|
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
|
||||||
|
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
|
||||||
|
</privapp-permissions>
|
||||||
|
|
||||||
|
<privapp-permissions package="com.android.hotwordenrollment.xgoogle">
|
||||||
|
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
|
||||||
|
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
|
||||||
|
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
|
||||||
|
</privapp-permissions>
|
||||||
|
</permissions>
|
Loading…
Reference in a new issue