change BT product api 06/144606/1 accepted/tizen/4.0/unified/20170829.020343 accepted/tizen/4.0/unified/20170905.175040 accepted/tizen/unified/20170821.051135 submit/tizen/20170818.013120 submit/tizen/20170818.092119 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170904.062435
authorWonnam Jang <wn.jang@samsung.com>
Thu, 17 Aug 2017 08:15:59 +0000 (17:15 +0900)
committerWonnam Jang <wn.jang@samsung.com>
Thu, 17 Aug 2017 08:16:35 +0000 (17:16 +0900)
Change-Id: I8266315c4e14253d42b720ce7fa511090c1542c2
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
server/sttd_recorder.c

index f6569e1..16202d0 100644 (file)
@@ -201,7 +201,7 @@ int sttd_recorder_initialize(stt_recorder_audio_cb audio_cb, stt_recorder_interr
        }
 
 #ifdef TV_BT_MODE
-       if (BT_ERROR_NONE != bt_initialize()) {
+       if (BT_ERROR_NONE != bt_product_init()) {
                SLOG(LOG_ERROR, TAG_STTD, "[Recorder ERROR] Fail to init bt");
                return STTD_ERROR_OPERATION_FAILED;
        }
@@ -262,7 +262,7 @@ int sttd_recorder_deinitialize()
 #ifdef TV_BT_MODE
        bt_hid_host_deinitialize();
 
-       bt_deinitialize();
+       bt_product_deinit();
 #endif
 
        g_recorder_state = STTD_RECORDER_STATE_NONE;