From: Myungki Lee Date: Thu, 2 Jun 2016 11:25:03 +0000 (+0900) Subject: Fix sample codes for notification_set/get_led X-Git-Tag: submit/tizen/20160603.030057^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4484dffec1f23692bc82cf91606640b51e59e131;p=platform%2Fcore%2Fapi%2Fnotification.git Fix sample codes for notification_set/get_led Change-Id: I0a7b72076c71283bc2aa0cf1c91e491119db0291 Signed-off-by: Myungki Lee --- diff --git a/include/notification.h b/include/notification.h index fd29c85f..008d356e 100755 --- a/include/notification.h +++ b/include/notification.h @@ -437,7 +437,7 @@ int notification_get_vibration(notification_h noti, notification_h noti = NULL; int noti_err = NOTIFICATION_ERROR_NONE; - noti_err = notification_set_led(noti, NOTIFICATION_LED_TYPE_DEFAULT, NULL); + noti_err = notification_set_led(noti, NOTIFICATION_LED_OP_ON, NULL); if(noti_err != NOTIFICATION_ERROR_NONE) { return; } @@ -464,7 +464,7 @@ int notification_set_led(notification_h noti, notification_led_op_e operation, { notification_h noti = NULL; int noti_err = NOTIFICATION_ERROR_NONE; - notification_led_type_e type = NOTIFICATION_LED_TYPE_NONE; + notification_led_type_e type = NOTIFICATION_LED_OP_OFF; noti_err = notification_get_led(noti, &type, NULL); if(noti_err != NOTIFICATION_ERROR_NONE) {