Remove volume changed callback during unrealize 92/108192/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.125245 accepted/tizen/3.0.m2/wearable/20170104.125813 accepted/tizen/3.0/common/20170103.172859 accepted/tizen/3.0/ivi/20170103.155318 accepted/tizen/3.0/mobile/20170103.155225 accepted/tizen/3.0/wearable/20170103.155301 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20170103.084553
authorHyunseok Lee <hs7388.lee@samsung.com>
Tue, 3 Jan 2017 09:18:28 +0000 (18:18 +0900)
committerHyunseok Lee <hs7388.lee@samsung.com>
Tue, 3 Jan 2017 09:18:28 +0000 (18:18 +0900)
[Version] 0.2.18
[Profile] Mobile, Wearable
[Issue Type] Bug

Change-Id: I1e9384a5d7d2fde3b40afd0b21b566b5d3709491

packaging/libmm-radio.spec
src/mm_radio_priv_hal.c

index 6f3b582..d8619bb 100755 (executable)
@@ -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
index 17087a4..206e728 100644 (file)
@@ -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);