diff options
author | jk7744.park <jk7744.park@samsung.com> | 2016-03-04 20:06:47 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2016-03-04 20:06:47 +0900 |
commit | 7bcc3ef4afcd49d031b133d241340459ac21762b (patch) | |
tree | 0320d78b4633923729406aa333ef993040a89253 | |
parent | faa94893427af38a34019b69f585f6e2062d45cd (diff) | |
download | account-parser-accepted/tizen_2.4_mobile.tar.gz account-parser-accepted/tizen_2.4_mobile.tar.bz2 account-parser-accepted/tizen_2.4_mobile.zip |
Tizen 2.4.0 rev3 SDK Public Releasesubmit/tizen_2.4/20160306.235711accepted/tizen/2.4/mobile/20160307.015623tizen_2.4accepted/tizen_2.4_mobile
-rw-r--r--[-rwxr-xr-x] | CMakeLists.txt | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | NOTICE | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | account-parser.pc.in | 0 | ||||
-rw-r--r-- | packaging/account-parser.spec | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | src/account-dlog.h | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | src/account.c | 12 |
6 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 361354a..361354a 100755..100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt diff --git a/account-parser.pc.in b/account-parser.pc.in index e44d772..e44d772 100755..100644 --- a/account-parser.pc.in +++ b/account-parser.pc.in diff --git a/packaging/account-parser.spec b/packaging/account-parser.spec index 30f09a0..b8be405 100644 --- a/packaging/account-parser.spec +++ b/packaging/account-parser.spec @@ -1,6 +1,6 @@ Name: account-parser Summary: account parser library -Version: 0.0.13 +Version: 0.0.14 Release: 0 Group: TO_BE/FILLED_IN License: Apache-2.0 diff --git a/src/account-dlog.h b/src/account-dlog.h index b7a6f80..b7a6f80 100755..100644 --- a/src/account-dlog.h +++ b/src/account-dlog.h diff --git a/src/account.c b/src/account.c index 1e007e0..5f0dc93 100755..100644 --- a/src/account.c +++ b/src/account.c @@ -71,11 +71,11 @@ bool _on_account_received_cb(account_h account, void* user_data) retvm_if(ret != ACCOUNT_ERROR_NONE, false, "[%d] Failed to perform account_set_package_name().", ret); // Update the account - ret = account_update_to_db_by_id_without_permission(account, account_db_id); + ret = account_update_to_db_by_id_offline(account, account_db_id); retvm_if(ret == ACCOUNT_ERROR_NOT_REGISTERED_PROVIDER, false, "[%d] The application does not register the account provider.", ret); retvm_if(ret == ACCOUNT_ERROR_PERMISSION_DENIED, false, "[%d] The application has no permission to update this account.", ret); retvm_if(ret == ACCOUNT_ERROR_RECORD_NOT_FOUND, false, "[%d] The account does not exist.", ret); - retvm_if(ret != ACCOUNT_ERROR_NONE, false, "[%d] Failed to perform account_update_to_db_by_id_without_permssion().", ret); + retvm_if(ret != ACCOUNT_ERROR_NONE, false, "[%d] Failed to perform account_update_to_db_by_id_offline().", ret); return true; } @@ -444,7 +444,7 @@ int _register_account_provider(xmlDocPtr docPtr, char* account_provider_app_id) int account_type_db_id = 0; ret = account_type_insert_to_db_offline(account_type_handle, &account_type_db_id); if(ret != ACCOUNT_ERROR_NONE) { - _E("[%d]Failed to perform account_type_insert_to_db().", ret); + _E("[%d]Failed to perform account_type_insert_to_db_offline().", ret); goto CATCH; } } @@ -485,7 +485,7 @@ int _unregister_account_provider(pkgmgrinfo_appinfo_h package_info_handle, void* ret = account_type_delete_by_app_id_offline(app_id); if(ret != ACCOUNT_ERROR_NONE) { - _E("Failed to perform account_type_delete_by_app_id()."); + _E("Failed to perform account_type_delete_by_app_id_offline()."); goto CATCH; } @@ -589,9 +589,9 @@ int PKGMGR_PARSER_PLUGIN_UPGRADE(xmlDocPtr docPtr, const char* packageId) int ret2 = 0; - ret = account_query_account_by_package_name(_on_account_received_cb, __old_account_provider_app_id, (void*)account_provider_app_id); + ret = account_query_account_by_package_name_offline(_on_account_received_cb, __old_account_provider_app_id, (void*)account_provider_app_id); if((ret != ACCOUNT_ERROR_NONE) && (ret != ACCOUNT_ERROR_RECORD_NOT_FOUND)) { - _E("Failed to perform account_query_account_by_package_name()."); + _E("Failed to perform account_query_account_by_package_name_offline()."); goto CATCH; } |