Modify some code about deviced signal 29/82529/1 accepted/tizen/common/20160811.145530 accepted/tizen/ivi/20160811.002540 accepted/tizen/mobile/20160811.002455 accepted/tizen/tv/20160811.002528 accepted/tizen/wearable/20160811.002938 submit/tizen/20160810.070210
authorMinje Ahn <minje.ahn@samsung.com>
Wed, 3 Aug 2016 23:33:47 +0000 (08:33 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Wed, 3 Aug 2016 23:33:47 +0000 (08:33 +0900)
Change-Id: I374b2a8f1ab4f971d701d6ccfccbf1bf6c498e6a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
packaging/media-server.spec
src/common/media-common-system.c
src/mediadb-update.c

index ca2ef02..25c9839 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       media-server
 Summary:    A server for media content management
-Version:    0.2.102
+Version:    0.2.103
 Release:    0
 Group:      Multimedia/Service
 License:    Apache-2.0
index 2b67ce5..c2b87c9 100755 (executable)
 #define DEVICED_INTERFACE_NAME DEVICED_BUS_NAME
 
 #define DEVICED_PATH_BLOCK                  DEVICED_OBJECT_PATH"/Block"
-#define DEVICED_PATH_BLOCK_DEVICES          DEVICED_PATH_BLOCK"/Devices"
 #define DEVICED_PATH_BLOCK_MANAGER          DEVICED_PATH_BLOCK"/Manager"
-#define DEVICED_INTERFACE_BLOCK             DEVICED_INTERFACE_NAME".Block"
 #define DEVICED_INTERFACE_BLOCK_MANAGER     DEVICED_INTERFACE_NAME".BlockManager"
-
-#define BLOCK_OBJECT_ADDED      "ObjectAdded"
-#define BLOCK_OBJECT_REMOVED    "ObjectRemoved"
 #define BLOCK_DEVICE_CHANGED    "DeviceChanged"
 
 #define BLOCK_DEVICE_METHOD "GetDeviceList"
@@ -161,7 +156,7 @@ static int __ms_sys_subscribe_device_block_event(block_changed_cb usr_callback,
        g_usb_handler = g_dbus_connection_signal_subscribe(
                                        g_usb_bus,
                                        NULL,
-                                       DEVICED_INTERFACE_BLOCK,
+                                       DEVICED_INTERFACE_BLOCK_MANAGER,
                                        BLOCK_DEVICE_CHANGED,
                                        NULL,
                                        NULL,
index 1edb45d..625c27b 100755 (executable)
@@ -43,9 +43,7 @@
 #define DBUS_REPLY_TIMEOUT (-1)
 
 #define PATH_BLOCK                  OBJECT_PATH"/Block"
-#define PATH_BLOCK_DEVICES          PATH_BLOCK"/Devices"
 #define PATH_BLOCK_MANAGER          PATH_BLOCK"/Manager"
-#define INTERFACE_BLOCK             INTERFACE_NAME".Block"
 #define INTERFACE_BLOCK_MANAGER     INTERFACE_NAME".BlockManager"
 
 #define DEVICE_METHOD "GetDeviceList"