diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-12-12 11:11:50 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-12-19 17:18:45 +0800 |
commit | b76a642a51ed2be0a41dea687e5173c16aa78ca9 (patch) | |
tree | f815b9d9984e0ea5698560c2647c2ed154f9c140 | |
parent | 06a1ce1a8dcc5cd7c2cb66e734ac45c5b106267f (diff) |
Use Event_ShowWindow instead of Event_TapShortcuthalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.37.90.06.99.46.99.3
The interface of homescreen service will be changed then,
use Event_ShowWindow instead of Event_TapShortcut.
Related changes:
agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/
libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/
libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/
BUG-AGL: SPEC-1931
Change-Id: I68b3056e34ae4d75ccfa3d98639c4fd38a9d068b
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
-rw-r--r-- | app/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/main.cpp b/app/main.cpp index fab15e8..f555475 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -112,9 +112,9 @@ int main(int argc, char *argv[]) // HomeScreen hs->init(port, token.c_str()); - // Set the event handler for Event_TapShortcut which will activate the surface for windowmanager - hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [qwm, &graphic_role](json_object *object){ - qDebug("Surface %s got tapShortcut\n", graphic_role.toStdString().c_str()); + // Set the event handler for Event_ShowWindow which will activate the surface for windowmanager + hs->set_event_handler(LibHomeScreen::Event_ShowWindow, [qwm, &graphic_role](json_object *object){ + qDebug("Surface %s got showWindow\n", graphic_role.toStdString().c_str()); qwm->activateWindow(graphic_role); }); |