From: Kevron Rees Date: Sat, 17 May 2014 01:18:09 +0000 (-0700) Subject: registerProfile after registering the dbus object X-Git-Tag: submit/tizen_ivi/20140619.111013~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04ca018d0628dcd31f4854b844ca51294257db02;p=profile%2Fivi%2Fautomotive-message-broker.git registerProfile after registering the dbus object --- diff --git a/plugins/bluetooth/bluetoothplugin.cpp b/plugins/bluetooth/bluetoothplugin.cpp index b1a647d..0791316 100644 --- a/plugins/bluetooth/bluetoothplugin.cpp +++ b/plugins/bluetooth/bluetoothplugin.cpp @@ -39,6 +39,19 @@ BluetoothSinkPlugin::BluetoothSinkPlugin(AbstractRoutingEngine* re, map reply = profileManagerIface.call("RegisterProfile", qVariantFromValue(QDBusObjectPath("/org/bluez/spp")), "00001101-0000-1000-8000-00805F9B34FB", options); + + if(!reply.isValid()) + { + DebugOut(DebugOut::Error)<<"RegisterProfile call failed: "< reply = profileManagerIface.call("RegisterProfile", qVariantFromValue(QDBusObjectPath("/org/bluez/spp")), "00001101-0000-1000-8000-00805F9B34FB", options); - - if(!reply.isValid()) - { - DebugOut(DebugOut::Error)<<"RegisterProfile call failed: "<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<message<