Set result text before selecting result when conflict status is 85/119285/1
authorWonnam Jang <wn.jang@samsung.com>
Thu, 16 Mar 2017 08:12:26 +0000 (17:12 +0900)
committerWonnam Jang <wn.jang@samsung.com>
Thu, 16 Mar 2017 08:12:26 +0000 (17:12 +0900)
Change-Id: If30af9e0b8d262888f9af4da06ab2f8a58fbd298
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
client/vc_mgr.c

index 4560dff..cfea1e3 100644 (file)
@@ -2078,6 +2078,8 @@ static void __vc_mgr_notify_all_result(vc_result_type_e result_type)
 
        bool cb_ret;
 
+       vc_mgr_client_set_all_result(g_vc_m, event, temp_text);
+
        vc_mgr_client_use_callback(g_vc_m);
        cb_ret = all_callback(event, vc_cmd_list, temp_text, temp_message, all_user_data);
        vc_mgr_client_not_use_callback(g_vc_m);
@@ -2112,7 +2114,6 @@ static void __vc_mgr_notify_all_result(vc_result_type_e result_type)
        int count = 0;
        vc_cmd_list_get_count(vc_cmd_list, &count);
        if (0 < count) {
-               vc_mgr_client_set_all_result(g_vc_m, event, temp_text);
                if (true == cb_ret) {
                        SLOG(LOG_DEBUG, TAG_VCM, "Callback result is true");
                        if (VC_RESULT_TYPE_NOTIFICATION != result_type)