From 3f3183cb31a1e7412b9ef54b77c8fb0b13b3ff6f Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Mon, 27 Mar 2017 11:25:44 +0900 Subject: [PATCH] Add missing extra info for mm_sound_release_focus [Version] 0.10.116 [Profile] Common [Issue Type] Bug fix [Dependency module] N/A Change-Id: I7625fdd8eea4fee9530b6d8c33316d8e5e1dd12e Signed-off-by: Jeongmo Yang --- src/mm_camcorder_internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mm_camcorder_internal.c b/src/mm_camcorder_internal.c index 61343a1..7eda99a 100644 --- a/src/mm_camcorder_internal.c +++ b/src/mm_camcorder_internal.c @@ -1301,7 +1301,7 @@ _ERR_CAMCORDER_CMD_PRECON_AFTER_LOCK: } if (hcamcorder->acquired_focus > 0) { - mm_sound_release_focus(hcamcorder->sound_focus_id, hcamcorder->acquired_focus, NULL); + mm_sound_release_focus(hcamcorder->sound_focus_id, hcamcorder->acquired_focus, "mm-camcorder release focus"); _mmcam_dbg_warn("release sound focus [focus %d] done", hcamcorder->acquired_focus); hcamcorder->acquired_focus = 0; } @@ -3358,7 +3358,7 @@ void _mmcamcorder_sound_signal_callback(mm_sound_signal_name_t signal, int value /* unregister focus related callback */ if (hcamcorder->sound_focus_id > 0) { if (hcamcorder->acquired_focus > 0) { - mm_sound_release_focus(hcamcorder->sound_focus_id, hcamcorder->acquired_focus, NULL); + mm_sound_release_focus(hcamcorder->sound_focus_id, hcamcorder->acquired_focus, "mm-camcorder release focus"); _mmcam_dbg_warn("release acquired focus [focus %d] done", hcamcorder->acquired_focus); hcamcorder->acquired_focus = 0; } -- 2.7.4