diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-05 17:16:14 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-10 10:53:48 +0200 |
commit | a525f24c3ee276323088708dee70ee9bf9ceddd0 (patch) | |
tree | a51f7997787dfaf381fa4be3f01c09e3d982ba16 /conf.d | |
parent | a1369a945cf63495a5757fb22728a3ff9f4a6463 (diff) |
Unify test launch between target and native
On a target, the binder process name is taken from the widget "id",
now the native launcher script also launches the binder using the widget "id".
As the controller searches its configuration file using the binder process middle name
we need to differentiate between both "id" otherwise the wrong configuration file is used.
The commit renames configuration file according to the new "id".
Change-Id: I4a596dd1d54201a671bb68bf9aca6904286322c6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/controller/etc/aft-afbtest.json (renamed from conf.d/controller/etc/aft-aft.json) | 0 | ||||
-rw-r--r-- | conf.d/wgt/config.xml.in | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/conf.d/controller/etc/aft-aft.json b/conf.d/controller/etc/aft-afbtest.json index c541c2b..c541c2b 100644 --- a/conf.d/controller/etc/aft-aft.json +++ b/conf.d/controller/etc/aft-afbtest.json diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in index adb4f18..b66ab0c 100644 --- a/conf.d/wgt/config.xml.in +++ b/conf.d/wgt/config.xml.in @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<widget xmlns="http://www.w3.org/ns/widgets" id="@PROJECT_NAME@" version="@PROJECT_VERSION@"> - <name>@PROJECT_NAME@</name> +<widget xmlns="http://www.w3.org/ns/widgets" id="afbtest" version="@PROJECT_VERSION@"> + <name>afbtest</name> <icon src="@PROJECT_ICON@"/> <content src="@WIDGET_ENTRY_POINT@" type="@WIDGET_TYPE@"/> <description>@PROJECT_DESCRIPTION@</description> @@ -13,7 +13,7 @@ </feature> <feature name="urn:AGL:widget:provided-binding"> - <param name="aft" value="@WIDGET_ENTRY_POINT@" /> + <param name="@API_NAME@" value="@WIDGET_ENTRY_POINT@" /> </feature> <feature name="urn:AGL:widget:provided-api"> |