Change-Id: I9d4640ac7ede87726c019e6a3eacda3d7b765271
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
#if !defined(LIBNOTIFY_SUPPORT) && !defined(LIBNOTIFICATION_SUPPORT)
#include <syspopup_caller.h>
#endif
+#ifdef __TIZEN_MOBILE__
#include <aul.h>
-
+#endif
#include "alarm.h"
#include "bluetooth-api.h"
}
}
+#ifdef __TIZEN_MOBILE__
static void __launch_bt_service(int status, int run_type)
{
bundle *kb;
bundle_free(kb);
}
+#endif
void _bt_adapter_set_status(bt_status_t status)
{
}
#ifdef __TIZEN_MOBILE__
+ if (!aul_app_is_running("com.samsung.bluetooth"))
+ __launch_bt_service(0, 0);
+
if (_bt_register_media_player() != BLUETOOTH_ERROR_NONE)
BT_ERR("Fail to register media player");
#endif