summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Lis <m.lis@samsung.com>2014-04-07 13:20:44 +0200
committerMarcin Lis <m.lis@samsung.com>2014-04-07 13:20:44 +0200
commit915ee638f46d5706254a12784ed97a2e149f5aae (patch)
treed35457fa7fb004a076da56182b2ce13f9d2a0b58
parenta9e7eb7cad46aada19d9dd54a8faf9bd2efc6bf4 (diff)
downloadaul-1-915ee638f46d5706254a12784ed97a2e149f5aae.tar.gz
aul-1-915ee638f46d5706254a12784ed97a2e149f5aae.tar.bz2
aul-1-915ee638f46d5706254a12784ed97a2e149f5aae.zip
Update deprecated libprivilege-control API functions.
Change-Id: Ia3bd3396471e63b5baf1815c2828e7e423b1ed13 Signed-off-by: Marcin Lis <m.lis@samsung.com>
-rwxr-xr-xinclude/access_control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/access_control.h b/include/access_control.h
index 58f8de99..04a49993 100755
--- a/include/access_control.h
+++ b/include/access_control.h
@@ -27,7 +27,7 @@
#define INHOUSE_UID tzplatform_getuid(TZ_USER_NAME);
static inline int __set_access(const char* pkg_name, const char* pkg_type, const char* app_path)
{
- return set_app_privilege(pkg_name, pkg_type, app_path);
+ return perm_app_set_privilege(pkg_name, pkg_type, app_path);
}
#else