From 9b3739d6e376e3838b9a70e29c51e1d86c72927e Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Fri, 25 Oct 2013 13:30:40 -0700 Subject: [PATCH] PTREL-145: Call correct libprivilege method for setting access Use the set_app_privilege method instead of perm_app_set_privilege since the perm_app_set_privilege is currently only implemented as a dummy function returning failure. Change-Id: I5bc7b46fb6e86575ac8e7370b14fa7fb1cce651e Signed-off-by: Rusty Lynch --- src/wrt-launchpad-daemon/include/access_control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrt-launchpad-daemon/include/access_control.h b/src/wrt-launchpad-daemon/include/access_control.h index 6d01636..25d849b 100644 --- a/src/wrt-launchpad-daemon/include/access_control.h +++ b/src/wrt-launchpad-daemon/include/access_control.h @@ -26,7 +26,7 @@ static inline int __set_access(const char* pkg_name, const char* pkg_type, const char* app_path) { - return perm_app_set_privilege(pkg_name, pkg_type, app_path); + return set_app_privilege(pkg_name, pkg_type, app_path); } #else -- 2.7.4