From bb78967d7807f0958c2aa72d82d87f79ede3dba0 Mon Sep 17 00:00:00 2001 From: Kyeonghun Lee Date: Wed, 9 Sep 2015 14:50:13 +0900 Subject: [PATCH] fix build break Change-Id: Icc2170cef61f747f359257f9127d7fd6fa527e48 Signed-off-by: Kyeonghun Lee --- externals/MsgNotificationWrapper.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/externals/MsgNotificationWrapper.cpp b/externals/MsgNotificationWrapper.cpp index be0baa7..3f78771 100755 --- a/externals/MsgNotificationWrapper.cpp +++ b/externals/MsgNotificationWrapper.cpp @@ -126,7 +126,6 @@ void setNotiTime(notification_h noti_h, time_t time); void setNotiImage(notification_h noti_h, notification_image_type_e type, const char *image_path); void setNotiSound(notification_h noti_h, notification_sound_type_e type, const char *path); void setNotiVibration(notification_h noti_h, notification_vibration_type_e type, const char *path); -void setFlashNoti(void); // Alarm @@ -1948,8 +1947,6 @@ void setNotification(notification_h noti_h, MSG_NOTI_INFO_S *noti_info, bool bFe setIcon(noti_h, noti_info); if (bFeedback) { - setFlashNoti(); - if (noti_info->type == MSG_NOTI_TYPE_VOICE_1 || noti_info->type == MSG_NOTI_TYPE_VOICE_2) setSoundAndVibration(noti_h, noti_info->number, true); else @@ -2557,33 +2554,6 @@ msg_error_t getLatestMsgInfo(MSG_NOTI_INFO_S *noti_info, bool isForInstantMessag } -void setFlashNoti(void) -{ - MSG_BEGIN(); - - int ret = 0; - - if (!bFeedbackInit) { - int ret = feedback_initialize(); - - if (ret != FEEDBACK_ERROR_NONE) { - MSG_DEBUG("Fail to feedback_initialize : [%d]", ret); - bFeedbackInit = false; - return; - } else { - MSG_DEBUG("Success to feedback_initialize."); - bFeedbackInit = true; - } - } - - ret = feedback_play_type(FEEDBACK_TYPE_LED, FEEDBACK_PATTERN_MESSAGE); - if (ret != FEEDBACK_ERROR_NONE) - MSG_DEBUG("Fail to feedback_play_type"); - - MSG_END(); -} - - void createServiceHandle(app_control_h *svc_h) { int svc_err = APP_CONTROL_ERROR_NONE; -- 2.7.4