aboutsummaryrefslogtreecommitdiffstats
path: root/meta-speech-framework/meta-aac/recipes-apis
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-09-18 13:02:26 -0400
committerScott Murray <scott.murray@konsulko.com>2019-09-18 16:58:31 +0000
commit941df29b9a69a1ea40332dbf0d6b26b38dc340d7 (patch)
treec380037fd0a0bea9e86e7cd249b018cf096ec5c0 /meta-speech-framework/meta-aac/recipes-apis
parentefc3de9ad64b322b1b4025d0a75150d2a3bf00ed (diff)
alexa-voiceagent-service: Update config.xml.in
Add a patch to alexa-voiceagent-service recipe to update its config.xml.in to remove the now unneeded 4A dependency and add the now required new audio permission. Bug-AGL: SPEC-2765 Change-Id: I884bd7cfa45e598ecc06e1d6b1adde61a82f8db5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'meta-speech-framework/meta-aac/recipes-apis')
-rw-r--r--meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service/0002-update-config.xml.in.patch31
-rw-r--r--meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service/0002-update-config.xml.in.patch b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service/0002-update-config.xml.in.patch
new file mode 100644
index 00000000..fd5aaf75
--- /dev/null
+++ b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service/0002-update-config.xml.in.patch
@@ -0,0 +1,31 @@
+Update config.xml.in
+
+Remove now unneeded 4A binding dependency, and add new required audio
+permission.
+
+Upstream-Status: Pending
+
+Signed-off-by: Scott Murray <scott.murray@konsulko.com>
+
+diff --git a/platforms/agl/alexa-voiceagent-service/conf.d/wgt/config.xml.in b/platforms/agl/alexa-voiceagent-service/conf.d/wgt/config.xml.in
+index 3486518..14fd6a2 100644
+--- a/conf.d/wgt/config.xml.in
++++ b/conf.d/wgt/config.xml.in
+@@ -9,6 +9,7 @@
+
+ <feature name="urn:AGL:widget:required-permission">
+ <param name="urn:AGL:permission::public:no-htdocs" value="required" />
++ <param name="urn:AGL:permission::public:audio" value="required" />
+ <param name="urn:AGL:permission:audio:public:audiostream" value="required" />
+ <param name="urn:AGL:permission::public:hidden" value="required" />
+ <param name="urn:AGL:permission::system:run-by-default" value="required" />
+@@ -23,7 +24,6 @@
+ </feature>
+
+ <feature name="urn:AGL:widget:required-api">
+- <param name="ahl-4a" value="ws" />
+ <param name="vshl-capabilities" value="ws" />
+ </feature>
+-</widget>
+\ No newline at end of file
++</widget>
diff --git a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
index ec7a1e9d..78555e09 100644
--- a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
+++ b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb
@@ -21,6 +21,7 @@ DEPENDS = " \
SRC_URI = "git://github.com/alexa/alexa-auto-sdk.git;protocol=https;branch=2.0 \
file://0001-remove-library-dependency-copying.patch \
+ file://0002-update-config.xml.in.patch \
"
SRCREV = "86916d2d8c1702a8be3c88a9012ca56583bcc0c8"