Fix the build error for TV Profile 62/56962/1 accepted/tizen/ivi/20160218.023243 accepted/tizen/mobile/20160115.011102 accepted/tizen/mobile/20160115.114822 accepted/tizen/tv/20160115.114908 accepted/tizen/wearable/20160115.011841 accepted/tizen/wearable/20160115.115112 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002 submit/tizen_mobile/20160114.063956 submit/tizen_mobile/20160115.011928 submit/tizen_tv/20160114.064009 submit/tizen_tv/20160115.011940 submit/tizen_wearable/20160114.064033 submit/tizen_wearable/20160115.011951
authorHyuk Lee <hyuk0512.lee@samsung.com>
Thu, 14 Jan 2016 02:09:31 +0000 (11:09 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Thu, 14 Jan 2016 02:10:33 +0000 (11:10 +0900)
Change-Id: If1c5c6aab2e423803356a6c152f603381699d478
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-service/bt-request-handler.c
bt-service/bt-service-adapter.c

index c0de85c..d2cb262 100755 (executable)
@@ -25,7 +25,6 @@
 #include <glib.h>
 #include <dlog.h>
 #include <gio/gio.h>
-#include <sys/smack.h>
 #include <cynara-client.h>
 #include <cynara-creds-gdbus.h>
 
index 685d437..4f1b496 100644 (file)
@@ -988,6 +988,18 @@ void _bt_adapter_start_enable_timer(void)
        return;
 }
 
+#ifdef TIZEN_TV
+static gboolean __bt_adapter_enabled_cb(gpointer user_data)
+{
+       BT_DBG("+");
+
+       __bt_set_enabled();
+       _bt_adapter_set_status(BT_ACTIVATED);
+
+       return FALSE;
+}
+#endif
+
 int _bt_enable_adapter(void)
 {
        GDBusProxy *proxy;
@@ -2557,3 +2569,10 @@ int _bt_set_manufacturer_data(bluetooth_manufacturer_data_t *m_data)
 
        return BLUETOOTH_ERROR_NONE;
 }
+
+#ifdef TIZEN_TV
+int _bt_get_enable_timer_id(void)
+{
+       return timer_id;
+}
+#endif