projects
/
platform
/
framework
/
web
/
livebox-viewer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disabled package is not able to create an instance.
[platform/framework/web/livebox-viewer.git]
/
src
/
livebox.c
diff --git
a/src/livebox.c
b/src/livebox.c
index
a3f9038
..
641e3a8
100644
(file)
--- a/
src/livebox.c
+++ b/
src/livebox.c
@@
-589,6
+589,11
@@
EAPI struct livebox *livebox_add_with_size(const char *pkgname, const char *cont
return NULL;
}
+ if (livebox_service_is_enabled(pkgname) == 0) {
+ DbgPrint("Livebox [%s] is disabled package\n", pkgname);
+ return NULL;
+ }
+
if (type != LB_SIZE_TYPE_UNKNOWN)
livebox_service_get_size(type, &width, &height);