From 6a712584e9b66fe48494c5d20690a072320baf14 Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Tue, 6 Nov 2018 10:12:27 +0800 Subject: use appid instead of appname in "tap_shortcut" Now In homescreen-service used application_id to identify different application, so use appid instead of appname in "tap_shortcut" parameter. Bug-AGL: SPEC-1764 Change-Id: I2fdda76167c7af9af65b1135b838da1742515b8b Signed-off-by: wang_zhiqiang --- homescreen/src/homescreenhandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'homescreen/src/homescreenhandler.cpp') 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) -- cgit 1.2.3-korg