Change-Id: I6a29c351bb52ab39df60ebe8812166e808c08745
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
char *previous = NULL;
char *current = NULL;
char *previous = NULL;
char *current = NULL;
+ if (g_strcmp0(g_variant_get_type_string(parameters), "(sss)") != 0) {
+ BT_ERR("Invalid variant format");
+ return;
+ }
+
if (__bt_get_owner_info(parameters, &name, &previous, ¤t)) {
BT_ERR("Fail to get the owner info");
return;
if (__bt_get_owner_info(parameters, &name, &previous, ¤t)) {
BT_ERR("Fail to get the owner info");
return;