Fix return value in case of invalid id parameter of sound_manager_remove_focus_state_... 05/85105/1 accepted/tizen/common/20160824.154756 accepted/tizen/ivi/20160825.050425 accepted/tizen/mobile/20160825.050239 accepted/tizen/tv/20160825.050329 accepted/tizen/wearable/20160825.050352 submit/tizen/20160824.052737
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 23 Aug 2016 23:00:33 +0000 (08:00 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 23 Aug 2016 23:02:51 +0000 (08:02 +0900)
[Version] Release 0.3.61
[Profile] Common
[Issue Type] Bug fix

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

index 12a0179..31d6ac1 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.3.60
+Version:    0.3.61
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 7b2156a..d11117b 100644 (file)
@@ -439,7 +439,7 @@ int sound_manager_remove_focus_state_watch_cb(int id)
                        break;
        if (i == SOUND_STREAM_INFO_ARR_MAX) {
                LOGE("cound not find item in focus watch info array for this id(%d)", id);
-               ret = MM_ERROR_SOUND_INTERNAL;
+               ret = MM_ERROR_INVALID_ARGUMENT;
                goto LEAVE;
        }