aboutsummaryrefslogtreecommitdiffstats
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 13:02:26 -0400
commit4264e6da82c551a81cda1f4900d3ed7bd8a6b148 (patch)
tree8510182a8455cc149b33c0613c87b48b539c7074
parente4a71cfe9b53795dd456cb8bd776c5196e924acf (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>
-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"