Return policy error if the stream info is not manual route type in case of adding... 18/122718/3 accepted/tizen/3.0/common/20170405.133813 accepted/tizen/3.0/ivi/20170404.222445 accepted/tizen/3.0/mobile/20170404.222402 accepted/tizen/3.0/tv/20170404.222416 accepted/tizen/3.0/wearable/20170404.222430 submit/tizen_3.0/20170404.052014
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 3 Apr 2017 07:46:24 +0000 (16:46 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 3 Apr 2017 08:35:38 +0000 (17:35 +0900)
[Version] 0.3.109
[Profile] Common
[Issue Type] Bug fix

Change-Id: I7ea21057f2f0b8c54524f6201979b3dfb85693f3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-sound-manager.spec
src/sound_manager_private.c

index 89570f221ea4b45fc0b944ca3a4c60f19a87f2b9..cdced72b72b5f9d2cdc9df2ff87464449d5e43e3 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.3.108
+Version:    0.3.109
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 83002cb55494e0092d1cef7e4f76874e5d8d74d9..15cce5a2ce8423555b1da2803b51abd93bff58d8 100644 (file)
@@ -1732,7 +1732,7 @@ int _add_device_for_stream_routing(sound_stream_info_s *stream_info, sound_devic
        if (stream_info->stream_conf_info.route_type != STREAM_ROUTE_TYPE_MANUAL &&
            stream_info->stream_conf_info.route_type != STREAM_ROUTE_TYPE_MANUAL_EXT) {
                LOGE("route type is not manual or manual-ext");
-               return MM_ERROR_INVALID_ARGUMENT;
+               return MM_ERROR_POLICY_INTERNAL;
        }
 
        if ((ret = mm_sound_get_device_id(device, &device_id)))