aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/hs-conf.json4
-rw-r--r--src/hs-vuiadapter.cpp5
2 files changed, 4 insertions, 5 deletions
diff --git a/conf/hs-conf.json b/conf/hs-conf.json
index 79087fb..8b2b6ab 100644
--- a/conf/hs-conf.json
+++ b/conf/hs-conf.json
@@ -13,10 +13,6 @@
"appid": "launcher",
"visibility": "visible",
"after": "homescreen"
- },
- {
- "appid": "restriction",
- "visibility": "invisible"
}
],
"default-lastmode": [
diff --git a/src/hs-vuiadapter.cpp b/src/hs-vuiadapter.cpp
index f71e6fd..6cb4f46 100644
--- a/src/hs-vuiadapter.cpp
+++ b/src/hs-vuiadapter.cpp
@@ -18,6 +18,7 @@
#include "hs-clientmanager.h"
#include "hs-proxy.h"
#include "hs-appinfo.h"
+#include "unistd.h"
/**
* event handler
@@ -190,6 +191,7 @@ void Vui_Navigation::notify(afb_api_t api, std::string appid)
if(isListenAppId(appid)) {
if (appid == _poi) {
m_start_flg.first = true;
+ sleep(1);
set_destination2poi(api);
}
else if(appid == _navigation) {
@@ -238,6 +240,7 @@ void Vui_Navigation::set_destination2poi(afb_api_t api)
void Vui_Navigation::start_navigation(afb_api_t api)
{
HS_ClientManager::instance()->pushEvent(_startNavigation, nullptr);
+ HS_ClientManager::instance()->pushEvent("showWindow", nullptr, _navigation);
}
/* -------------------------------------HS_VuiAdapter------------------------------------------ */
@@ -302,4 +305,4 @@ int HS_VuiAdapter::onEvent(afb_api_t api, const char *event, struct json_object
return 1;
}
return 0;
-} \ No newline at end of file
+}