aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/homescreenhandler.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-03 18:33:58 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-03 18:33:58 +0900
commitb011c6a8e42ad6cb09055f0e3ef09ab0552f8199 (patch)
treeddf21ea746188ed9229db56fbdea26be29087974 /homescreen/src/homescreenhandler.cpp
parenteda63f75f575f802847eaf839d9a98b7a6885529 (diff)
Use appid between homescreen-service and appssandbox/zheng_wenlong/use_appid
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'homescreen/src/homescreenhandler.cpp')
-rw-r--r--homescreen/src/homescreenhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp
index 5da8b9e..daf1b90 100644
--- a/homescreen/src/homescreenhandler.cpp
+++ b/homescreen/src/homescreenhandler.cpp
@@ -51,10 +51,10 @@ void HomescreenHandler::init(int port, const char *token)
}
-void HomescreenHandler::tapShortcut(QString application_name)
+void HomescreenHandler::tapShortcut(QString application_id)
{
- HMI_DEBUG("HomeScreen","tapShortcut %s", application_name.toStdString().c_str());
- mp_hs->tapShortcut(application_name.toStdString().c_str());
+ HMI_DEBUG("HomeScreen","tapShortcut %s", application_id.toStdString().c_str());
+ mp_hs->tapShortcut(application_id.toStdString().c_str());
}
void HomescreenHandler::onRep_static(struct json_object* reply_contents)