diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-11-06 10:12:27 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-11-06 11:08:36 +0800 |
commit | 6a712584e9b66fe48494c5d20690a072320baf14 (patch) | |
tree | dc9c4949cd5be0a2fb2d10fbb8756927ae3ce332 /homescreen/src/homescreenhandler.cpp | |
parent | 33d31b5bac3c8c9105d43d6566174f39ef7a4ea4 (diff) |
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 <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'homescreen/src/homescreenhandler.cpp')
-rw-r--r-- | homescreen/src/homescreenhandler.cpp | 6 |
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) |