aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-06-26 14:30:13 -0400
committerScott Murray <scott.murray@konsulko.com>2019-06-26 14:30:13 -0400
commita5e31b6d6b1b1c9256d1338da18d3e157e7a181e (patch)
tree1c944d8e32c6ca7a60cfe87b36e27a16184dd202 /recipes-demo-hmi
parent0e4f8059a575a47a2e9b84614762306f5a27cfcb (diff)
poiapp: Add patch to add display permission
Add a patch to the poiapp's config.xml to add the new display permission. A patch is used for timeliness, it can be removed if/when the change goes into the upstream repo. Bug-AGL: SPEC-2559 Change-Id: Ibd52cb93847b2b7df9988ad276ebd8cbfc80900b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-demo-hmi')
-rw-r--r--recipes-demo-hmi/navigation/poiapp/0001-add-display-permission.patch21
-rw-r--r--[-rwxr-xr-x]recipes-demo-hmi/navigation/poiapp_git.bb1
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/poiapp/0001-add-display-permission.patch b/recipes-demo-hmi/navigation/poiapp/0001-add-display-permission.patch
new file mode 100644
index 000000000..25a8fc313
--- /dev/null
+++ b/recipes-demo-hmi/navigation/poiapp/0001-add-display-permission.patch
@@ -0,0 +1,21 @@
+Add display permission
+
+Add display permission required to work with the running as non-root
+change for applications.
+
+Upstream-Status: pending
+
+Signed-off-by: Scott Murray <scott.murray@konsulko.com>
+
+diff --git a/config.xml.in b/config.xml.in
+index b8cfccd..bec206d 100755
+--- a/config.xml.in
++++ b/config.xml.in
+@@ -13,6 +13,7 @@
+ <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" />
+ </feature>
+ <license>GPL</license>
+ </widget>
diff --git a/recipes-demo-hmi/navigation/poiapp_git.bb b/recipes-demo-hmi/navigation/poiapp_git.bb
index a17979b62..9c9292b08 100755..100644
--- a/recipes-demo-hmi/navigation/poiapp_git.bb
+++ b/recipes-demo-hmi/navigation/poiapp_git.bb
@@ -18,6 +18,7 @@ RDEPENDS_${PN} = " qtbase \
SRCREV = "c2691cb265d9198542482a860f1df378e8c2708b"
SRC_URI = "git://github.com/AGLExport/genivi-navi-yelp-client.git;branch=agl \
+ file://0001-add-display-permission.patch \
"
S = "${WORKDIR}/git"