Code Review
/
apps
/
agl-service-homescreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
c1dfe70
)
fix depends vui bug
author
zheng_wenlong
<wenlong_zheng@nexty-ele.com>
Thu, 20 Jun 2019 07:39:04 +0000
(16:39 +0900)
committer
zheng_wenlong
<wenlong_zheng@nexty-ele.com>
Thu, 20 Jun 2019 07:39:04 +0000
(16:39 +0900)
src/hs-vuiadapter.cpp
patch
|
blob
|
history
diff --git
a/src/hs-vuiadapter.cpp
b/src/hs-vuiadapter.cpp
index
b4c044c
..
e6837ba
100644
(file)
--- a/
src/hs-vuiadapter.cpp
+++ b/
src/hs-vuiadapter.cpp
@@
-278,6
+278,11
@@
HS_VuiAdapter* HS_VuiAdapter::instance(void)
*/
void HS_VuiAdapter::init(afb_api_t api)
{
*/
void HS_VuiAdapter::init(afb_api_t api)
{
+ if(afb_api_require_api(api, _vshl_capabilities, 0)) {
+ AFB_INFO("%s api isn't existing.", _vshl_capabilities);
+ return;
+ }
+
std::string uid = std::string(_vui_prefixe) + std::string("-") + _navigation;
module_list[uid] = new Vui_Navigation(uid);
std::string uid = std::string(_vui_prefixe) + std::string("-") + _navigation;
module_list[uid] = new Vui_Navigation(uid);