projects
/
platform
/
core
/
api
/
app-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4628b20
)
Check the permission denied error code
author
Sangyoon Jang
<s89.jang@samsung.com>
Fri, 11 Sep 2015 05:27:20 +0000
(14:27 +0900)
committer
Sangyoon Jang
<s89.jang@samsung.com>
Fri, 11 Sep 2015 05:27:20 +0000
(14:27 +0900)
Change-Id: I9c3042db0b5d8fd69d21cb29e2004268fcdcee43
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
alarm/alarm.c
patch
|
blob
|
history
diff --git
a/alarm/alarm.c
b/alarm/alarm.c
index
c6851fc
..
b31af85
100644
(file)
--- a/
alarm/alarm.c
+++ b/
alarm/alarm.c
@@
-98,6
+98,11
@@
static int convert_error_code_to_alarm(const char* function, alarm_error_t alarm
return ALARM_ERROR_CONNECTION_FAIL;
break;
+ case ERR_ALARM_NO_PERMISSION:
+ LOGE("[%s] PERMISSION_DENIED(0x%08x)", function, ALARM_ERROR_PERMISSION_DENIED);
+ return ALARM_ERROR_PERMISSION_DENIED;
+ break;
+
case ALARMMGR_RESULT_SUCCESS:
return ALARM_ERROR_NONE;
break;