From: sungrae jo Date: Tue, 31 Mar 2020 03:51:13 +0000 (+0900) Subject: Changed VC mgr internal state for vc_mgr_set_audio_streaming_mode X-Git-Tag: submit/tizen/20200407.072912~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf760861bb9b1219a75e62729f813b343c84a1ef;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Changed VC mgr internal state for vc_mgr_set_audio_streaming_mode vc_mgr_set_audio_streaming_mode will be using VC_STATE_INITIALIZED or VC_SERVICE_STATE_READY. Change-Id: Ia5e36362f898f632d0fa8bcc744e447717abf81f Signed-off-by: sungrae jo --- diff --git a/client/vc_mgr.c b/client/vc_mgr.c index 48dc9f9..84c69b8 100755 --- a/client/vc_mgr.c +++ b/client/vc_mgr.c @@ -4517,12 +4517,6 @@ int vc_mgr_set_audio_streaming_mode(vc_audio_streaming_mode_e mode) return VC_ERROR_INVALID_STATE; } - if (state != VC_STATE_READY) { - SLOG(LOG_ERROR, TAG_VCM, "[ERROR] Invalid State: Current state is not 'READY'"); - SLOG(LOG_DEBUG, TAG_VCM, "@@@"); - return VC_ERROR_INVALID_STATE; - } - vc_service_state_e service_state = VC_SERVICE_STATE_NONE; ret = vc_mgr_client_get_service_state(g_vc_m, &service_state); if (0 != ret) {