Use Event_ShowWindow instead of Event_TapShortcut 11/18711/3
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Wed, 12 Dec 2018 03:03:36 +0000 (11:03 +0800)
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Wed, 19 Dec 2018 09:08:59 +0000 (17:08 +0800)
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>
src/runxdg.cpp

index 1b9c08c..30a11e4 100644 (file)
@@ -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);