aboutsummaryrefslogtreecommitdiffstats
path: root/meta-hmi-framework/recipes-demo-hmi
diff options
context:
space:
mode:
authorNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>2017-12-12 10:34:46 +0900
committerNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>2017-12-12 11:01:00 +0900
commit93c41ec136cff1bbf1b761657b85241f9cad527d (patch)
treed8320123a2358aea797232eee17935689bf234d4 /meta-hmi-framework/recipes-demo-hmi
parent6808d44248265895bc5ff0560caedfbaa8a3ff67 (diff)
Add D-Bus configuration of navigation service
This recipe is the workaround until the meta-hmi-framework is merged into meta-agl-demo. Add the D-Bus configuration provided by the navigation service. Currently navigation app provides API, but this is transient measure. In the future this configuration will be moved to the navigation service. Change-Id: I3b8c7ebb7f465f4b90095f2549deeb4c63c49452 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Diffstat (limited to 'meta-hmi-framework/recipes-demo-hmi')
-rw-r--r--meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf15
-rw-r--r--[-rwxr-xr-x]meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend2
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf
new file mode 100644
index 00000000..7f4d85f0
--- /dev/null
+++ b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation/org.agl.naviapi.conf
@@ -0,0 +1,15 @@
+<!DOCTYPE busconfig PUBLIC
+"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy context="default">
+ <!-- Allow everyone to talk to main service. We'll later add an agent to
+ only share the location if user allows it. -->
+ <allow send_interface="org.agl.naviapi"/>
+ </policy>
+
+ <policy user="root">
+ <!-- Allow root to own the name on the bus -->
+ <allow own="org.agl.naviapi"/>
+ </policy>
+</busconfig>
diff --git a/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend
index f0785935..e118227c 100755..100644
--- a/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend
+++ b/meta-hmi-framework/recipes-demo-hmi/navigation/navigation_git.bbappend
@@ -1,10 +1,12 @@
# AGL HMI Framework adaptation of navigation
# This recipe is integrated into navigation_git.bb when the meta-hmi-framework is integrated into meta-agl-demo.
+FILESEXTRAPATHS_prepend := "${THISDIR}/navigation:"
SRCREV = "${AUTOREV}"
SRC_URI="git://github.com/AGLExport/gpsnavi.git;branch=newwm2 \
file://download_mapdata_jp.sh \
file://download_mapdata_uk.sh \
+ file://org.agl.naviapi.conf \
"
DEPENDS_append = " af-binder libwindowmanager virtual/libhomescreen "