Set the connectable mode for IVI profile
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 2 Nov 2016 02:58:50 +0000 (11:58 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 2 Nov 2016 02:59:22 +0000 (11:59 +0900)
Change-Id: I943f64c3ed375192df7aecbe2abaf45a0dcffac9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service/bt-service-adapter.c

index 722482a..f58325c 100644 (file)
@@ -513,7 +513,7 @@ static int __bt_set_enabled(void)
                return BLUETOOTH_ERROR_INTERNAL;
        }
 
-#ifdef TIZEN_PROFILE_MOBILE
+#ifdef TIZEN_PROFILE_MOBILE || defined(TIZEN_PROFILE_IVI)
        /* BT setting UI will control Mobile's visible mode. So in the FRWK...set the visible mode as off: */
        if (_bt_set_discoverable_mode(
                BLUETOOTH_DISCOVERABLE_MODE_CONNECTABLE, 0) != BLUETOOTH_ERROR_NONE)