sm7125: Add basic permission file for HotwordEnrollment

Change-Id: I3c14d28aa6d2b746f7d82469ba174648d8313866
fourteen-wip
Christian Oder 2 years ago committed by Simon1511
parent 0528e6d2ed
commit 8b51b32677
  1. 4
      common.mk
  2. 14
      configs/permissions/privapp-permissions-hotword.xml

@ -218,6 +218,10 @@ PRODUCT_PACKAGES += \
libhwbinder \
libhwbinder.vendor
# HotwordEnrollement app permissions
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
# Keylayout
PRODUCT_COPY_FILES += \
$(COMMON_PATH)/configs/keylayout/sec_touchscreen.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/sec_touchscreen.kl

@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<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…
Cancel
Save