vconf set doesn't work properly. This issue should be solved later.
Change-Id: Iea4912ba66117e873f96a690d921ddb40f809e96
int _bt_disable_adapter(void)
{
BT_INFO_C("Disable adapter");
-#if __TIZEN_MOBILE__
+#ifdef __TIZEN_MOBILE__
__bt_core_set_status(BT_DEACTIVATING);
if (__execute_command("/usr/etc/bluetooth/bt-stack-down.sh", NULL) < 0) {
BT_DBG("");
#ifdef __TIZEN_MOBILE__
int ret;
+ bt_status_t status;
+
status = _bt_core_get_status();
if (status == BT_DEACTIVATED) {
__bt_core_set_le_status(BT_LE_ACTIVATING);
BT_DBG("+");
#ifdef __TIZEN_MOBILE__
+ bt_status_t status;
+
status = _bt_core_get_status();
BT_DBG("status : %d", status);
if (strcasecmp(object_path, "/org/bluez/hci0") == 0) {
#ifdef __TIZEN_MOBILE__
- __bt_core_set_status(BT_DEACTIVATED);
-#endif
+ _bt_core_adapter_removed_cb();
+#else
_bt_core_terminate();
+#endif
}
} else if (strcasecmp(member, "NameOwnerChanged") == 0) {
char *name = NULL;
#if !defined(LIBNOTIFY_SUPPORT) && !defined(LIBNOTIFICATION_SUPPORT)
#include <syspopup_caller.h>
#endif
-#if __TIZEN_MOBILE__
+#ifdef __TIZEN_MOBILE__
#include <aul.h>
#endif
#include <notification.h>
BT_ERR(" Sudha 13 Fail to init event sender");
return 0;
}
-
+/*
if (_bt_init_hf_local_term_event_sender() != BLUETOOTH_ERROR_NONE) {
BT_ERR("Fail to init core event sender");
return 0;
}
-
+*/
if (_bt_service_register() != BLUETOOTH_ERROR_NONE) {
BT_ERR("Fail to register service");
return 0;
export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
%endif
+%ifarch aarch64
+export CFLAGS="${CFLAGS} -D__TIZEN_MOBILE__ -DTIZEN_TELEPHONY_ENABLED"
+%endif
+
%cmake . \
-DTZ_SYS_USER_GROUP=%TZ_SYS_USER_GROUP \
-DTZ_SYS_DEFAULT_USER=%TZ_SYS_DEFAULT_USER \