Modify build feature names as Tizen 3.0 build option naming rule
[platform/core/connectivity/bluetooth-agent.git] / hf-agent / bluetooth-hf-agent.c
index bf9b365..2ba0b56 100755 (executable)
@@ -2553,7 +2553,7 @@ static gboolean __bt_establish_service_level_conn(bt_hf_agent_info_t *bt_hf_info
                        BT_HF_FEATURE_REMOTE_VOLUME_CONTROL |
                        BT_HF_FEATURE_ENHANCED_CALL_STATUS;
 
-#ifdef TIZEN_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
        feature = feature | BT_HF_FEATURE_CODEC_NEGOTIATION;
 #endif
 
@@ -2571,7 +2571,7 @@ static gboolean __bt_establish_service_level_conn(bt_hf_agent_info_t *bt_hf_info
                return FALSE;
        INFO("Gateway supported features are 0x%X", bt_hf_info->ag_features);
 
-#ifdef TIZEN_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
        if (bt_hf_info->ag_features & BT_AG_FEATURE_CODEC_NEGOTIATION) {
                ret = _hf_agent_codec_setup(bt_hf_info->remote_addr, BT_HF_CODEC_ID_MSBC);
                if (ret != BT_HF_AGENT_ERROR_NONE)
@@ -3336,7 +3336,7 @@ static uint32_t __bt_hf_agent_get_hf_features(void)
                        BT_HF_FEATURE_ENHANCED_CALL_STATUS |
                        BT_HF_FEATURE_CODEC_NEGOTIATION;
 
-#ifdef TIZEN_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
        hf_features = hf_features | BT_HF_FEATURE_CODEC_NEGOTIATION;
 #endif