From aa1ba9a48ed0d7ffe08325527b1b1a83b920df80 Mon Sep 17 00:00:00 2001 From: "jin0.kim" Date: Mon, 11 Apr 2016 14:57:19 +0830 Subject: [PATCH] Fixed TSAM-2036 (Device does not vibrate when changing vibrate mode in notification bar) Change-Id: I8f5b36733a91886c7cbd81ccb62ffed9886f7e13 --- daemon/settings/modules/sound-profile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/settings/modules/sound-profile.c b/daemon/settings/modules/sound-profile.c index eb04a54..fecff38 100755 --- a/daemon/settings/modules/sound-profile.c +++ b/daemon/settings/modules/sound-profile.c @@ -144,11 +144,12 @@ static void _view_update(Evas_Object *view, int state, int flag_extra_1, int fla quickpanel_setting_icon_content_set(view, image); if (quickpanel_uic_is_opened() && g_check_press) { - g_check_press = 0; if (sound_status == 1 && vibration_status == 0) { ecore_job_add(_play_snd_job_cb, NULL); + g_check_press = 0; } else if (sound_status == 0 && vibration_status == 1) { ecore_job_add(_play_vib_job_cb, NULL); + g_check_press = 0; } } } -- 2.7.4