X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-service%2Fservices%2Faudio%2Fa2dp_src%2Fbt-service-a2dp-src.c;h=4a99dc9798f42e13789f83a97a8a52caecf53957;hb=89402339a81775d534510fb74c539f10655ef6c2;hp=68e33426ed6825c94e1665e5dfc586cb7e7960a6;hpb=4fb3c2ae989c0df21db2c03c37ec103658d3f97e;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-service/services/audio/a2dp_src/bt-service-a2dp-src.c b/bt-service/services/audio/a2dp_src/bt-service-a2dp-src.c index 68e3342..4a99dc9 100644 --- a/bt-service/services/audio/a2dp_src/bt-service-a2dp-src.c +++ b/bt-service/services/audio/a2dp_src/bt-service-a2dp-src.c @@ -111,10 +111,8 @@ static void __bt_handle_av_connected_state(bluetooth_device_address_t *address) /* Add data from the connected list */ _bt_add_headset_to_list(BT_AUDIO_A2DP, BT_STATE_CONNECTED, addr); -#ifdef TIZEN_FEATURE_BT_AVC_TARGET /* Send the information to Absolute Volume Controller */ _bt_audio_handle_a2dp_state_changed(addr, true); -#endif /* Delete waiting device data if present */ wait_device = _bt_get_audio_wait_data(); @@ -199,10 +197,8 @@ static void __bt_handle_av_disconnected_state(bluetooth_device_address_t *addres /* Remove data from the connected list */ _bt_remove_headset_from_list(BT_AUDIO_A2DP, addr); -#ifdef TIZEN_FEATURE_BT_AVC_TARGET /* Send the information to Absolute Volume Controller */ _bt_audio_handle_a2dp_state_changed(addr, false); -#endif _bt_connection_manager_set_state(addr, BLUETOOTH_EVENT_AV_DISCONNECTED);