fix build break 13/47813/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150909.140557 accepted/tizen/tv/20150909.135940 accepted/tizen/wearable/20150909.134957 submit/tizen/20150909.060503 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 9 Sep 2015 05:50:13 +0000 (14:50 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 9 Sep 2015 05:50:13 +0000 (14:50 +0900)
Change-Id: Icc2170cef61f747f359257f9127d7fd6fa527e48
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
externals/MsgNotificationWrapper.cpp

index be0baa7..3f78771 100755 (executable)
@@ -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;