add input connect signal 48/22748/2 tizen_3.0.m14.2_ivi accepted/tizen/ivi/20140623.084947 submit/tizen/20140613.101940 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140618.000002 submit/tizen_ivi/20140618.000003 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 tizen_3.0.m14.2_ivi_release
authorGu Chaojie <chao.jie.gu@intel.com>
Wed, 11 Jun 2014 08:13:44 +0000 (16:13 +0800)
committerGu Chaojie <chao.jie.gu@intel.com>
Wed, 11 Jun 2014 08:14:43 +0000 (16:14 +0800)
Change-Id: Ife36b2531a588ff458f39fdffcdead52e745109a
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
profiles/input/device.c

index 6af7890..5f4bc45 100644 (file)
@@ -1155,6 +1155,9 @@ static int input_device_connected(struct input_device *idev)
 
        btd_service_connecting_complete(idev->service, 0);
 
+       g_dbus_emit_property_changed(btd_get_dbus_connection(), idev->path,
+                               INPUT_INTERFACE, "Connected");
+
        return 0;
 }
 
@@ -1370,6 +1373,9 @@ int input_device_disconnect(struct btd_service *service)
        if (err < 0)
                return err;
 
+       g_dbus_emit_property_changed(btd_get_dbus_connection(), idev->path,
+                               INPUT_INTERFACE, "Connected");
+
        return 0;
 }