Remove to check valid app_id for original app_id 42/124442/1 accepted/tizen/3.0/common/20170508.153006 accepted/tizen/3.0/ivi/20170508.044929 accepted/tizen/3.0/mobile/20170508.044902 accepted/tizen/3.0/tv/20170508.044924 accepted/tizen/3.0/wearable/20170508.044926 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170413.050742 submit/tizen_3.0_common/20170508.091735
authorJiyong Min <jiyong.min@samsung.com>
Tue, 11 Apr 2017 09:23:49 +0000 (18:23 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Tue, 11 Apr 2017 09:24:40 +0000 (18:24 +0900)
 [Problem]
  If client application checked server_name, it was not same with the app_id of the server application.

 [Solution]
  The dbus does not support special character, so the app_id as interface was modified to valid name for dbus.
 As the result, the modified app_id was not same with original app_id of the server application.
 The interface used by dbus already has been checked before dbus function is called.
 So I remove to check valid app_id and modify it.

Change-Id: I81147989af5250ec32d79833ddd84c72af1dec99
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
packaging/capi-media-controller.spec
src/media_controller_util.c

index 04e55dd21159098cb2d0725ac7b14604fcfd5504..c98fff69c0099968ada3fa02328693a48f87d57a 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-controller
 Summary:    A media controller library in Tizen Native API
-Version:    0.1.31
+Version:    0.1.32
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
index f6c67626d4b6e922e80266372e0624ff5a89aff1..1c0f6e37dcc70739ddefdead88cd8866b5ea08fe 100755 (executable)
@@ -70,7 +70,7 @@ int mc_util_get_own_name(char **name)
                return MEDIA_CONTROLLER_ERROR_INVALID_OPERATION;
        }
 
-       _mc_util_check_valid_name(temp, name);
+       *name = g_strdup(temp);
 
        return MEDIA_CONTROLLER_ERROR_NONE;
 }