From: DoHyun Pyun Date: Tue, 29 Nov 2016 07:37:32 +0000 (+0900) Subject: Fix svace 2.2 issues X-Git-Tag: accepted/tizen/3.0/common/20161206.125201~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F75%2F100775%2F1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git Fix svace 2.2 issues Change-Id: Ica961fa70a2e80af891685b8ededca178285ffff Signed-off-by: DoHyun Pyun --- diff --git a/ag-agent/bluetooth-ag-manager.c b/ag-agent/bluetooth-ag-manager.c index d40220d..9503dbc 100755 --- a/ag-agent/bluetooth-ag-manager.c +++ b/ag-agent/bluetooth-ag-manager.c @@ -535,7 +535,7 @@ static void __bt_hfp_handle_call_conference(void) t_active_call_count++; if (t_active_call_count >= 2) { - if (!t_active_call->call_conference) + if (t_active_call->call_conference == FALSE) t_active_call->call_conference = TRUE; t_call->call_conference = TRUE; } @@ -547,7 +547,7 @@ static void __bt_hfp_handle_call_conference(void) t_held_call_count++; if (t_held_call_count >= 2) { - if (!t_held_call->call_conference) + if (t_held_call->call_conference == FALSE) t_held_call->call_conference = TRUE; t_call->call_conference = TRUE; } @@ -555,14 +555,10 @@ static void __bt_hfp_handle_call_conference(void) } if (t_held_call_count == 1) { - if (t_held_call->call_conference) - t_held_call->call_conference = FALSE; - } + t_held_call->call_conference = FALSE; - if (t_active_call_count == 1) { - if (t_active_call->call_conference) - t_active_call->call_conference = FALSE; - } + if (t_active_call_count == 1) + t_active_call->call_conference = FALSE; } static gboolean __bt_hfp_on_call_hold_timeout(gpointer t_data) diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index 3b58e16..f8579bf 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -2,7 +2,7 @@ Name: bluetooth-agent Summary: Bluetooth agent packages that support various external profiles -Version: 0.1.1 +Version: 0.1.2 Release: 1 Group: Network & Connectivity/Bluetooth License: Apache-2.0