Remove to check valid app_id for original app_id 38/124438/2 accepted/tizen/unified/20170413.164948 submit/tizen/20170413.053950
authorJiyong Min <jiyong.min@samsung.com>
Tue, 11 Apr 2017 09:03:40 +0000 (18:03 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Tue, 11 Apr 2017 09:18:33 +0000 (18:18 +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: I6d120bc7c37c17ac68ed37a788892d3354447697
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
packaging/capi-media-controller.spec
src/media_controller_util.c

index 9470eaa..20159cd 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-controller
 Summary:    A media controller library in Tizen Native API
-Version:    0.1.35
+Version:    0.1.36
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
index 1919a58..f9811a4 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;
 }