summaryrefslogtreecommitdiffstats
path: root/src/hs-client.cpp
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-11-06 10:28:59 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-11-06 11:18:47 +0800
commitc6035c02992d874c1422cb279423017ca4c05eec (patch)
tree7b4f59f93a760739ae18c1988a51a0d1552d9727 /src/hs-client.cpp
parentd58138e0ceb19b3f201ec5e6e7126015db2cfead (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: I8493331f37977a30d6d88c0d222da4c2db32e727 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'src/hs-client.cpp')
-rw-r--r--src/hs-client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hs-client.cpp b/src/hs-client.cpp
index c683c66..7da2cda 100644
--- a/src/hs-client.cpp
+++ b/src/hs-client.cpp
@@ -56,20 +56,20 @@ HS_Client::~HS_Client()
* push tap_shortcut event
*
* #### Parameters
- * - appname: app's name.
+ * - appid: app's id.
*
* #### Return
* result
*
*/
-int HS_Client::tap_shortcut(const char* appname)
+int HS_Client::tap_shortcut(const char* appid)
{
if(!checkEvent(__FUNCTION__))
return 0;
- HMI_NOTICE("homescreen-service","%s application_name = %s.", __FUNCTION__, appname);
+ HMI_NOTICE("homescreen-service","%s application_id = %s.", __FUNCTION__, appid);
struct json_object* push_obj = json_object_new_object();
- hs_add_object_to_json_object_str( push_obj, 4, _application_name, appname,
+ hs_add_object_to_json_object_str( push_obj, 4, _application_id, appid,
_type, __FUNCTION__);
afb_event_push(my_event, push_obj);
return 0;