Change-Id: Icd6098a74a6336d5f93cbc985761cf3de9463fd1
static int bluetooth_init(void)
{
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ /* All of method call will be rejected if we use private connection
+ * although we have applied allow option for org.tizen.obexd because
+ * private connection does not have well-known name. */
+ connection = g_dbus_setup_bus(DBUS_BUS_SYSTEM, NULL, NULL);
+#else
connection = g_dbus_setup_private(DBUS_BUS_SYSTEM, NULL, NULL);
+#endif
if (connection == NULL)
return -EPERM;