Fixed TSAM-2036 (Device does not vibrate when changing vibrate mode in notification... 52/65452/1
authorjin0.kim <jin0.kim@samsung.com>
Mon, 11 Apr 2016 06:27:19 +0000 (14:57 +0830)
committerjin0.kim <jin0.kim@samsung.com>
Mon, 11 Apr 2016 06:27:22 +0000 (14:57 +0830)
Change-Id: I8f5b36733a91886c7cbd81ccb62ffed9886f7e13

daemon/settings/modules/sound-profile.c

index eb04a54..fecff38 100755 (executable)
@@ -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;
                }
        }
 }