Revert vc_mgr_set_selected_result() execution condition 42/286142/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 22 Nov 2022 11:43:00 +0000 (20:43 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Thu, 29 Dec 2022 02:27:11 +0000 (11:27 +0900)
commit7fbeac16e26f8dc6a88a8cf9f7043710f9f26eec
tree5f4fa96184fe73cce890799daa102ba236b9510e
parentfe111a099d9706b16ae4608726ea0dde7261b269
Revert vc_mgr_set_selected_result() execution condition

- Issue:
vc_mgr_set_selected_result() should be able to invoked if
vc_mgr_all_result_cb() returns false.

- Solution:
Previous commit changes the execution condition of
vc_mgr_set_selected_result() to be invoked only in
vc_mgr_all_result_cb(). However, according to the description of
vc_mgr_all_result_cb(), vc_mgr_set_selected_result() should be able to
be invoked if vc_mgr_all_result_cb() returns false. Thus, this patch
reverts the condition of vc_mgr_set_selected_result() and fixes the
description of vc_mgr_set_selected_result().

Change-Id: I330a150187698f8179a62956b32a8092986397b4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/vc_mgr_core.c
include/voice_control_manager.h