diff options
author | Myungki Lee <mk5004.lee@samsung.com> | 2016-06-02 20:25:03 +0900 |
---|---|---|
committer | Myungki Lee <mk5004.lee@samsung.com> | 2016-06-02 20:25:03 +0900 |
commit | 4484dffec1f23692bc82cf91606640b51e59e131 (patch) | |
tree | 68423467fc69657053ff791b6ccaba1bd9e5b110 | |
parent | 6fe4978c41c4e1ce422aa9da2c94a89e4275c274 (diff) | |
download | notification-4484dffec1f23692bc82cf91606640b51e59e131.tar.gz notification-4484dffec1f23692bc82cf91606640b51e59e131.tar.bz2 notification-4484dffec1f23692bc82cf91606640b51e59e131.zip |
Fix sample codes for notification_set/get_ledsubmit/tizen/20160603.030057accepted/tizen/wearable/20160606.040056accepted/tizen/tv/20160606.035853accepted/tizen/mobile/20160606.035152accepted/tizen/ivi/20160606.040552accepted/tizen/common/20160606.141709
Change-Id: I0a7b72076c71283bc2aa0cf1c91e491119db0291
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
-rwxr-xr-x | include/notification.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/notification.h b/include/notification.h index fd29c85..008d356 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) { |