projects
/
platform
/
core
/
uifw
/
voice-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1eb9cd
)
Add feature checker in vc_widget_prepare
39/171239/1
author
sooyeon.kim
<sooyeon.kim@samsung.com>
Thu, 8 Feb 2018 07:56:00 +0000
(16:56 +0900)
committer
Sooyeon Kim
<sooyeon.kim@samsung.com>
Wed, 28 Feb 2018 00:59:08 +0000
(
00:59
+0000)
Change-Id: Ide8a8eeb5826947839578de69d634d3420e5d041
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
(cherry picked from commit
fd9419d346f53861f55ed56c6c52efa0b24806c9
)
client/vc_widget.c
patch
|
blob
|
history
diff --git
a/client/vc_widget.c
b/client/vc_widget.c
index
ad6908d
..
46d68ac
100644
(file)
--- a/
client/vc_widget.c
+++ b/
client/vc_widget.c
@@
-470,6
+470,11
@@
int vc_widget_prepare(vc_h vc_w)
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Prepare");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");