Change-Id: I9a1e2fdd626bae17ee0d8f8380d2074e893502b6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
{
int ret;
- if (!amh || !callback) {
- LOGW("[ERROR] parameter is NULL");
- return AUTOFILL_ERROR_INVALID_PARAMETER;
- }
-
if (!check_privilege(AUTOFILL_MANAGER_PRIVILEGE)) {
LOGW("[ERROR] Permission denied");
return AUTOFILL_ERROR_PERMISSION_DENIED;
}
+ if (!amh || !callback) {
+ LOGW("[ERROR] parameter is NULL");
+ return AUTOFILL_ERROR_INVALID_PARAMETER;
+ }
+
if (!amh->rpc_h) {
LOGW("[ERROR] rpc handle is NULL\n");
return AUTOFILL_ERROR_OPERATION_FAILED;