diff options
author | Sangyoon Jang <s89.jang@samsung.com> | 2015-09-11 14:27:20 +0900 |
---|---|---|
committer | Sangyoon Jang <s89.jang@samsung.com> | 2015-09-11 14:27:20 +0900 |
commit | 0fe268e1fa35f15de8ac24e171337601e3946c7c (patch) | |
tree | 6e057c3e3e4757dd8d0d80e01440f06f37e972f5 | |
parent | 4628b208d35c3ab2acd5973e803a3c28602fa900 (diff) | |
download | application-tizen_3.0.m1_mobile.tar.gz application-tizen_3.0.m1_mobile.tar.bz2 application-tizen_3.0.m1_mobile.zip |
Check the permission denied error codetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen_common/20151019.135620submit/tizen_common/20151015.190624submit/tizen/20150911.072727accepted/tizen/wearable/20150911.091759accepted/tizen/tv/20150911.091742accepted/tizen/mobile/20150911.091729tizen_3.0.m1_tvtizen_3.0.m1_mobile
Change-Id: I9c3042db0b5d8fd69d21cb29e2004268fcdcee43
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
-rw-r--r-- | alarm/alarm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/alarm/alarm.c b/alarm/alarm.c index c6851fc..b31af85 100644 --- 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; |