Resumed music player on camera click while recording 72/92372/1
authorbhutani.92 <bhutani.92@samsung.com>
Sat, 15 Oct 2016 06:44:28 +0000 (12:14 +0530)
committerbhutani.92 <bhutani.92@samsung.com>
Sat, 15 Oct 2016 06:44:28 +0000 (12:14 +0530)
Change-Id: I1b5edddd170c7dc9a72b24d579a168d2745fdfda
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/core/mp-player-mgr.c

index 7a0024c..706524d 100755 (executable)
@@ -1169,10 +1169,7 @@ void mp_player_focus_callback(sound_stream_info_h stream_info, sound_stream_focu
                sound_manager_get_focus_reacquisition(ad->stream_info, &reacquire_state);
                DEBUG_TRACE("reason for change is %d", reason_for_change);
                if (reason_for_change != SOUND_STREAM_FOCUS_CHANGED_BY_ALARM &&
-                               reason_for_change != SOUND_STREAM_FOCUS_CHANGED_BY_NOTIFICATION &&
-                               reason_for_change == SOUND_STREAM_FOCUS_CHANGED_BY_RINGTONE &&
-                               reason_for_change == SOUND_STREAM_FOCUS_CHANGED_BY_VOIP &&
-                               reason_for_change == SOUND_STREAM_FOCUS_CHANGED_BY_CALL) {
+                               reason_for_change != SOUND_STREAM_FOCUS_CHANGED_BY_NOTIFICATION) {
                        if (!strcmp(additional_info, "cam_capture")) {
                                sound_manager_set_focus_reacquisition(ad->stream_info, EINA_TRUE);
                        } else if (reacquire_state == EINA_TRUE) {