From 4484dffec1f23692bc82cf91606640b51e59e131 Mon Sep 17 00:00:00 2001 From: Myungki Lee Date: Thu, 2 Jun 2016 20:25:03 +0900 Subject: [PATCH] Fix sample codes for notification_set/get_led Change-Id: I0a7b72076c71283bc2aa0cf1c91e491119db0291 Signed-off-by: Myungki Lee --- include/notification.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.34.1