From b011c6a8e42ad6cb09055f0e3ef09ab0552f8199 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 3 Aug 2018 18:33:58 +0900 Subject: Use appid between homescreen-service and apps 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 --- homescreen/src/homescreenhandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'homescreen/src/homescreenhandler.h') diff --git a/homescreen/src/homescreenhandler.h b/homescreen/src/homescreenhandler.h index c18d7a0..1a9a2b5 100644 --- a/homescreen/src/homescreenhandler.h +++ b/homescreen/src/homescreenhandler.h @@ -32,7 +32,7 @@ public: void init(int port, const char* token); - Q_INVOKABLE void tapShortcut(QString application_name); + Q_INVOKABLE void tapShortcut(QString application_id); void onRep(struct json_object* reply_contents); void onEv(const string& event, struct json_object* event_contents); -- cgit 1.2.3-korg