Fix incoming call sound stop issue 59/114959/1
authorWootak Jung <wootak.jung@samsung.com>
Thu, 9 Feb 2017 06:12:27 +0000 (15:12 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 16 Feb 2017 02:14:40 +0000 (11:14 +0900)
Change-Id: Ic12620ed4593eace0ba91aa87014ebb7e0c00536

module/src/callmgr-audio.c
packaging/call-manager.spec

index 0a6a9ee3be8ecc975a389475e148de73dfb55d40..76c1dc1cabd9b820bfcfa9d6f08881cfaad06670 100644 (file)
@@ -158,6 +158,17 @@ int _callmgr_audio_init(callmgr_audio_handle_h *audio_handle, audio_event_cb cb_
                return -1;
        }
 
+       /*
+        * This function is added to resolve below ringtone play issue.
+        * - Incoming call sound is paused after removal of earphone.
+        * Incoming call sound should be playing although earphone is detached.
+        */
+       ret = sound_manager_disable_session_backward_compatibility();
+       if (ret != SOUND_MANAGER_ERROR_NONE) {
+               err("sound_manager_disable_session_backward_compatibility() failed. [%d][%s]", ret, get_error_message(ret));
+               return -1;
+       }
+
        dbg("Audio init done");
        return 0;
 }
index 7c82111463e96c2e0256571c8647ce1748a11907..423da19019fb1cf766d1622f69542b75559dbd0b 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 2
-%define patchlevel 4
+%define patchlevel 5
 %define ext_feature 0
 
 Name:           call-manager