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>
AGL_DEBUG("Activesurface %s ", this->m_role.c_str());
this->m_wm->activateWindow(this->m_role.c_str(), AREA_NORMAL_FULL);
};
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);
std::function< void(json_object*) > h_default= [](json_object* object) {
const char *j_str = json_object_to_json_string(object);