summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/ondemandnavi/0002-update-permissions.patch
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-06-26 21:04:24 -0400
committerScott Murray <scott.murray@konsulko.com>2019-06-26 21:09:36 -0400
commit9c3a673987e169539c75e6b57d80dd61f8eb78d9 (patch)
tree5356bb580b42c5ad4455b26d63ace901709fb0dc /recipes-demo-hmi/navigation/ondemandnavi/0002-update-permissions.patch
parentd61b4d3a028d7abc74cbcb9bad4cf1d21eb3f087 (diff)
ondemandnavi: add patches for pipewire and running as non-roothalibut_7.99.2halibut/7.99.27.99.2
Changes include: * Add a patch to replace the use of 4A via 4a-play with just using ALSA via a gst-launch pipeline. gstreamer is used to provide the flexibility to easily switch to a pipewire output sink and likely add back setting a role via a property. * Add a patch to set the new audio and display permissions for running as non-root. These patches should be removed when they get upstream. Bug-AGL: SPEC-2576 Change-Id: I5d24bb7c1d263a664d1c924f01d118d6d351d232 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-demo-hmi/navigation/ondemandnavi/0002-update-permissions.patch')
-rw-r--r--recipes-demo-hmi/navigation/ondemandnavi/0002-update-permissions.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/ondemandnavi/0002-update-permissions.patch b/recipes-demo-hmi/navigation/ondemandnavi/0002-update-permissions.patch
new file mode 100644
index 000000000..cff5fa952
--- /dev/null
+++ b/recipes-demo-hmi/navigation/ondemandnavi/0002-update-permissions.patch
@@ -0,0 +1,22 @@
+ondemandnavi: Update permissions
+
+Add the new display and audio permissions required with the change to
+running as non-root.
+
+Upstream-Status: pending
+
+Signed-off-by: Scott Murray <scott.murray@konsulko.com>
+
+diff --git a/package/config.xml b/package/config.xml
+index ae5c1f6..10b2d99 100755
+--- a/package/config.xml
++++ b/package/config.xml
+@@ -13,6 +13,8 @@
+ <feature name="urn:AGL:widget:required-permission">
+ <param name="urn:AGL:permission::public:no-htdocs" value="required"/>
+ <param name="http://tizen.org/privilege/internal/dbus" value="required"/>
++ <param name="urn:AGL:permission::public:display" value="required" />
++ <param name="urn:AGL:permission::public:audio" value="required" />
+ </feature>
+ </widget>
+