From: saerome.kim Date: Mon, 26 Aug 2019 12:00:57 +0000 (+0900) Subject: Applied the error code added to ua-manager. X-Git-Tag: submit/tizen/20190826.140219^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01d58be3634c62a39a05ba1f438496cc30e17175;p=platform%2Fcore%2Fapi%2Fuser-awareness.git Applied the error code added to ua-manager. - ua-manager added UAM_ERROR_RESOURCE_BUSY. Change-Id: I0498cffec7eafe00851828d8864a1132390d0200 Signed-off-by: saerome.kim --- diff --git a/src/user-awareness-util.c b/src/user-awareness-util.c index 4856746..abd95b4 100644 --- a/src/user-awareness-util.c +++ b/src/user-awareness-util.c @@ -27,23 +27,23 @@ int _ua_get_error_code(int ua_error) switch (ua_error) { case UAM_ERROR_NONE: return UA_ERROR_NONE; + case UAM_ERROR_INVALID_PARAMETER: + return UA_ERROR_INVALID_PARAMETER; /* LCOV_EXCL_START */ + case UAM_ERROR_RESOURCE_BUSY: + return UA_ERROR_RESOURCE_BUSY; case UAM_ERROR_PERMISSION_DENIED: return UA_ERROR_PERMISSION_DENIED; case UAM_ERROR_TIMED_OUT: return UA_ERROR_TIMED_OUT; - case UAM_ERROR_NOT_INITIALIZED: - return UA_ERROR_NOT_INITIALIZED; + case UAM_ERROR_NOW_IN_PROGRESS: + return UA_ERROR_NOW_IN_PROGRESS; case UAM_ERROR_NOT_SUPPORTED: return UA_ERROR_NOT_SUPPORTED; + case UAM_ERROR_NOT_INITIALIZED: + return UA_ERROR_NOT_INITIALIZED; case UAM_ERROR_NOT_IN_OPERATION: return UA_ERROR_NOT_IN_PROGRESS; - /* LCOV_EXCL_STOP */ - case UAM_ERROR_INVALID_PARAMETER: - return UA_ERROR_INVALID_PARAMETER; - case UAM_ERROR_NOW_IN_PROGRESS: - return UA_ERROR_NOW_IN_PROGRESS; - /* LCOV_EXCL_START */ case UAM_ERROR_ALREADY_DONE: return UA_ERROR_ALREADY_DONE; case UAM_ERROR_INTERNAL: