Change-Id: I943973cdce2813b4c57a3b1b6fc991588710cbb8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
BT_ERR("Fail to set discoverable mode");
} else {
__bt_set_visible_mode();
BT_ERR("Fail to set discoverable mode");
} else {
__bt_set_visible_mode();
- /* add the vconf noti handler */
- if (0 != vconf_notify_key_changed(VCONFKEY_SETAPPL_DEVICE_NAME_STR,
- (vconf_callback_fn)__bt_phone_name_changed_cb, NULL))
- BT_ERR("DEVICE_NAME key changed notification registration failed");
+ /* add the vconf noti handler */
+ if (0 != vconf_notify_key_changed(VCONFKEY_SETAPPL_DEVICE_NAME_STR,
+ (vconf_callback_fn)__bt_phone_name_changed_cb, NULL))
+ BT_ERR("DEVICE_NAME key changed notification registration failed");
- __bt_set_local_name();
- }
/* Get All properties */
if (OAL_STATUS_SUCCESS != adapter_get_properties())
/* Get All properties */
if (OAL_STATUS_SUCCESS != adapter_get_properties())