From a43e85cf8e9738768808ac5061fc76d0bff188d3 Mon Sep 17 00:00:00 2001 From: "jin0.kim" Date: Thu, 3 Sep 2015 13:43:05 +0900 Subject: [PATCH] change feedback type Change-Id: I07b0e5d8a350865a056a40199599f642b730d0da --- daemon/media.c | 4 ++-- daemon/settings/modules/sound-profile.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 daemon/settings/modules/sound-profile.c diff --git a/daemon/media.c b/daemon/media.c index e0c7a44..982b581 100755 --- a/daemon/media.c +++ b/daemon/media.c @@ -412,9 +412,9 @@ HAPI void quickpanel_media_play_feedback(void) quickpanel_media_init(); if (snd_enabled == 1) { - feedback_play_type(FEEDBACK_TYPE_SOUND, FEEDBACK_PATTERN_TOUCH_TAP); + feedback_play_type(FEEDBACK_TYPE_SOUND, FEEDBACK_PATTERN_TAP); } else if (vib_enabled == 1) { - feedback_play_type(FEEDBACK_TYPE_VIBRATION, FEEDBACK_PATTERN_TOUCH_TAP); + feedback_play_type(FEEDBACK_TYPE_VIBRATION, FEEDBACK_PATTERN_TAP); } } diff --git a/daemon/settings/modules/sound-profile.c b/daemon/settings/modules/sound-profile.c old mode 100644 new mode 100755 index bc7b30a..640a0fe --- a/daemon/settings/modules/sound-profile.c +++ b/daemon/settings/modules/sound-profile.c @@ -65,7 +65,7 @@ static void _long_press_cb(void *data) static void _play_snd_job_cb(void *data) { #ifdef HAVE_X - if (feedback_play_type(FEEDBACK_TYPE_SOUND, FEEDBACK_PATTERN_SOUND_ON) != FEEDBACK_ERROR_NONE) { + if (feedback_play_type(FEEDBACK_TYPE_SOUND, FEEDBACK_PATTERN_SILENT_OFF) != FEEDBACK_ERROR_NONE) { ERR("failed to play a sound"); } #endif -- 2.7.4