exynos9610: import HotwordEnrollement
authorJan Altensen <info@stricted.net>
Tue, 28 Apr 2020 15:26:04 +0000 (17:26 +0200)
committerJan Altensen <info@stricted.net>
Mon, 7 Dec 2020 07:22:53 +0000 (08:22 +0100)
Change-Id: I1e196c46b18f2c55df428906be4cc085d0aa0f70

common.mk
configs/privapp-permissions-hotword.xml [new file with mode: 0644]
proprietary-files.txt

index 4ece7a7fcb5c7299c766cc3718947745a9ea3eff..dc3e976b05776e39db6d157fb3f91affe6eb4a58 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -57,3 +57,7 @@ PRODUCT_AAPT_CONFIG := xlarge
 PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
 # A list of dpis to select prebuilt apk, in precedence order.
 PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
+
+# HotwordEnrollement
+PRODUCT_COPY_FILES += \
+    $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:system/etc/permissions/privapp-permissions-hotword.xml
diff --git a/configs/privapp-permissions-hotword.xml b/configs/privapp-permissions-hotword.xml
new file mode 100644 (file)
index 0000000..82383db
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<permissions>
+    <privapp-permissions package="com.android.hotwordenrollment.okgoogle">
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
+    </privapp-permissions>
+
+    <privapp-permissions package="com.android.hotwordenrollment.tgoogle">
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
+    </privapp-permissions>
+
+    <privapp-permissions package="com.android.hotwordenrollment.xgoogle">
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
+    </privapp-permissions>
+</permissions>
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a0b116ac2cb1f6b6055abd0d576b2517b96f9805 100644 (file)
@@ -0,0 +1,4 @@
+# HotwordEnrollment
+-priv-app/HotwordEnrollmentOKGoogleCS47L35/HotwordEnrollmentOKGoogleCS47L35.apk
+-priv-app/HotwordEnrollmentTGoogleCS47L35/HotwordEnrollmentTGoogleCS47L35.apk
+-priv-app/HotwordEnrollmentXGoogleCS47L35/HotwordEnrollmentXGoogleCS47L35.apk