diff options
author | Hyunseok Lee <hs7388.lee@samsung.com> | 2017-01-03 18:18:28 +0900 |
---|---|---|
committer | Hyunseok Lee <hs7388.lee@samsung.com> | 2017-01-03 18:18:28 +0900 |
commit | b036b0088d7d626e6813ca4287ae6eb9aefb81e2 (patch) | |
tree | 7c233e25d66777cd7345cef1abad80fb05af2e72 | |
parent | 5b983ae9a1df2aaedec06f5022dd72945dc6e4b8 (diff) | |
download | libmm-radio-tizen_3.0.m2.tar.gz libmm-radio-tizen_3.0.m2.tar.bz2 libmm-radio-tizen_3.0.m2.zip |
Remove volume changed callback during unrealizesubmit/tizen_3.0/20170103.084553submit/tizen_3.0.m2/20170104.093750accepted/tizen/3.0/wearable/20170103.155301accepted/tizen/3.0/mobile/20170103.155225accepted/tizen/3.0/ivi/20170103.155318accepted/tizen/3.0/common/20170103.172859accepted/tizen/3.0.m2/wearable/20170104.125813accepted/tizen/3.0.m2/mobile/20170104.125245tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_mobile
[Version] 0.2.18
[Profile] Mobile, Wearable
[Issue Type] Bug
Change-Id: I1e9384a5d7d2fde3b40afd0b21b566b5d3709491
-rwxr-xr-x | packaging/libmm-radio.spec | 2 | ||||
-rw-r--r-- | src/mm_radio_priv_hal.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/packaging/libmm-radio.spec b/packaging/libmm-radio.spec index 6f3b582..d8619bb 100755 --- a/packaging/libmm-radio.spec +++ b/packaging/libmm-radio.spec @@ -1,6 +1,6 @@ Name: libmm-radio Summary: Multimedia Framework Radio Library -Version: 0.2.17 +Version: 0.2.18 Release: 0 Group: System/Libraries License: Apache-2.0 diff --git a/src/mm_radio_priv_hal.c b/src/mm_radio_priv_hal.c index 17087a4..206e728 100644 --- a/src/mm_radio_priv_hal.c +++ b/src/mm_radio_priv_hal.c @@ -316,6 +316,10 @@ int _mmradio_unrealize(mm_radio_t *radio) MMRADIO_CHECK_INSTANCE(radio); MMRADIO_CHECK_STATE_RETURN_IF_FAIL(radio, MMRADIO_COMMAND_UNREALIZE); + ret = mm_sound_remove_volume_changed_callback(radio->volume_subs_id); + if (ret != MM_ERROR_NONE) + MMRADIO_LOG_WARNING("mm_sound_remove_volume_changed_callback error"); + /*Finish if there are scans*/ _mmradio_stop_scan(radio); |