Bug is detected when UTC executing for line coverage.
When we call conv_service_get_connection_state(), there is a CRASH.
In this case, d2d API is calling dbus call without dbus connection init.
So, we add dbus connection init before dbus call.
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I9b8d097a4b704fe47f3695fbb71fc9ea0a3d85ec
int conv::dbus_client::call(const char* subject)
{
+ _D("Calling: %s", subject);
+ IF_FAIL_RETURN_TAG(subject, CONV_ERROR_INVALID_PARAMETER, _E, "Invalid parameter");
+ IF_FAIL_RETURN_TAG(init(), CONV_ERROR_INVALID_OPERATION, _E, "Connection failed");
+
int ret = CONV_ERROR_NONE;
GError *err = NULL;