This commit is contained in:
Pierre Pronchery 2011-10-31 01:58:16 +00:00
parent cae943e236
commit 30cf6ac183

View File

@ -543,7 +543,7 @@ static gboolean _profiles_on_vibrate(gpointer data)
if(profiles->vibrator < 0) if(profiles->vibrator < 0)
{ {
/* stop the vibrator */ /* stop the vibrator */
event.type = PHONE_EVENT_TYPE_VIBRATOR_ON; event.type = PHONE_EVENT_TYPE_VIBRATOR_OFF;
helper->event(helper->phone, &event); helper->event(helper->phone, &event);
/* vibrate again only if necessary */ /* vibrate again only if necessary */
profiles->vibrator = (-profiles->vibrator) - 1; profiles->vibrator = (-profiles->vibrator) - 1;