From: Wonnam Jang Date: Fri, 18 May 2018 05:18:45 +0000 (+0900) Subject: Do not return error when vc feature is disabled X-Git-Tag: submit/tizen/20180521.103251~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f3e13f65ad8eae50d0c7fde8c4470e210ac913f;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Do not return error when vc feature is disabled Change-Id: I42123b6108212320497f7e2d4a048091fe2f88e6 Signed-off-by: Wonnam Jang --- diff --git a/client/vc_widget.c b/client/vc_widget.c index 46d68ac..6e5ea93 100644 --- a/client/vc_widget.c +++ b/client/vc_widget.c @@ -152,7 +152,7 @@ int vc_widget_initialize(vc_h* vc_w) if (0 != __vc_widget_get_feature_enabled()) { SLOG(LOG_ERROR, TAG_VCW, "@@@ [Widget] not supported"); - return VC_ERROR_NOT_SUPPORTED; + return VC_ERROR_NONE; } if (NULL == vc_w) { @@ -370,7 +370,7 @@ static Eina_Bool __vc_widget_connect_daemon(void *data) ecore_main_loop_thread_safe_call_async(__vc_widget_notify_error, vc_w); SLOG(LOG_DEBUG, TAG_VCW, "@@@"); - return EINA_FALSE; + return EINA_TRUE; } vc_widget_client_set_service_state(vc_w, (vc_service_state_e)service_state);