From cf760861bb9b1219a75e62729f813b343c84a1ef Mon Sep 17 00:00:00 2001 From: sungrae jo Date: Tue, 31 Mar 2020 12:51:13 +0900 Subject: [PATCH] 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 --- client/vc_mgr.c | 6 ------ 1 file changed, 6 deletions(-) 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) { -- 2.7.4