diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-12-12 11:03:36 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-12-19 17:08:59 +0800 |
commit | 93a5d6fef6e1ed01ed722d1110ad362369335f17 (patch) | |
tree | 0ec1362367315432e6237e6b88f0c18028eeb67f | |
parent | f0432213c7c40d70fef06f9ceb665463d23b32e6 (diff) |
Use Event_ShowWindow instead of Event_TapShortcut
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: I962217c0cd7101ab7f02c56e12658dd1f43c4272
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
-rw-r--r-- | src/runxdg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runxdg.cpp b/src/runxdg.cpp index 1b9c08c..30a11e4 100644 --- a/src/runxdg.cpp +++ b/src/runxdg.cpp @@ -328,7 +328,7 @@ int RunXDG::init_hs (void) AGL_DEBUG("Activesurface %s ", this->m_role.c_str()); this->m_wm->activateWindow(this->m_role.c_str(), AREA_NORMAL_FULL); }; - m_hs->set_event_handler(LibHomeScreen::Event_TapShortcut, handler); + m_hs->set_event_handler(LibHomeScreen::Event_ShowWindow, handler); std::function< void(json_object*) > h_default= [](json_object* object) { const char *j_str = json_object_to_json_string(object); |