Code Review
/
apps
/
agl-service-homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
use appid instead of appname in "tap_shortcut"
[apps/agl-service-homescreen.git]
/
src
/
hs-client.cpp
diff --git
a/src/hs-client.cpp
b/src/hs-client.cpp
index
c683c66
..
7da2cda
100644
(file)
--- a/
src/hs-client.cpp
+++ b/
src/hs-client.cpp
@@
-56,20
+56,20
@@
HS_Client::~HS_Client()
* push tap_shortcut event
*
* #### Parameters
* push tap_shortcut event
*
* #### Parameters
- * - app
name: app's name
.
+ * - app
id: app's id
.
*
* #### Return
* result
*
*/
*
* #### Return
* result
*
*/
-int HS_Client::tap_shortcut(const char* app
name
)
+int HS_Client::tap_shortcut(const char* app
id
)
{
if(!checkEvent(__FUNCTION__))
return 0;
{
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();
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;
_type, __FUNCTION__);
afb_event_push(my_event, push_obj);
return 0;