diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-16 16:47:58 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-20 08:48:54 +0800 |
commit | aa5b928d4ba30da2a9f0403fa0f0f3e379cec439 (patch) | |
tree | e2e4f49ad95f143debdd31dd9f84d168d4d36e09 /sample | |
parent | 44290c49e08fe52d6e3ed80720473577131090f4 (diff) |
fix simple-egl compile erroricefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.3icefish/8.99.2icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.99.38.99.28.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.1halibut
Because constant key values which defined in libhomescreen.hpp was deleted,
so no longer use these key word in simple-egl.
related: https://gerrit.automotivelinux.org/gerrit/#/c/20215/
Bug-AGL: SPEC-2188
Change-Id: I89d3ef0fb2e8ed02ec86a14b0368ca946cdf6d49
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'sample')
-rw-r--r-- | sample/simple-egl/src/simple-egl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/simple-egl/src/simple-egl.cpp b/sample/simple-egl/src/simple-egl.cpp index aa6ea19..58d8ba4 100644 --- a/sample/simple-egl/src/simple-egl.cpp +++ b/sample/simple-egl/src/simple-egl.cpp @@ -572,12 +572,12 @@ init_hs(LibHomeScreen* hs){ hs->set_event_handler(LibHomeScreen::Event_ShowWindow, [hs](json_object *object){ HMI_DEBUG("simple-egl","try to activeWindow %s ", app_name.c_str()); - struct json_object *param_obj = json_object_object_get(object, hs->_keyParameter); + struct json_object *param_obj = json_object_object_get(object, "parameter"); const char *area = json_object_get_string( - json_object_object_get(param_obj, hs->_keyArea)); + json_object_object_get(param_obj, "area")); // Application should call LibWindowmanager::activateWindow() in showWindow handler if(area == nullptr) - wm->activateWindow(main_role, hs->_areaNormal); + wm->activateWindow(main_role, "normal.full"); else wm->activateWindow(main_role, area); }); |