diff options
author | Yunjin Lee <yunjin-.lee@samsung.com> | 2018-03-30 17:29:05 +0900 |
---|---|---|
committer | Yunjin Lee <yunjin-.lee@samsung.com> | 2018-08-17 08:41:50 +0000 |
commit | 9ad09ff29b276ca89289f916070b242682cf0acf (patch) | |
tree | 2bdd92042c8f5498435c60adb923ccf4087b3ff8 | |
parent | 55880282bc6492af8c03b8f1fa1a9cbe65cce480 (diff) | |
download | privacy-setting-9ad09ff29b276ca89289f916070b242682cf0acf.tar.gz privacy-setting-9ad09ff29b276ca89289f916070b242682cf0acf.tar.bz2 privacy-setting-9ad09ff29b276ca89289f916070b242682cf0acf.zip |
Adjust privilege API changes
- Related changes: https://review.tizen.org/gerrit/#/c/174356/
Change-Id: Ifb758ef4184a75706abdb1e283502a981276a230
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
-rw-r--r-- | ui/src/package_privacy_list_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/package_privacy_list_view.c b/ui/src/package_privacy_list_view.c index a64a591..fc42845 100644 --- a/ui/src/package_privacy_list_view.c +++ b/ui/src/package_privacy_list_view.c @@ -130,7 +130,7 @@ static void package_privacy_check_changed_cb(void *data, Evas_Object *obj, void char* level; if (pd->status) { bool privacy_requestable = false; - ret = privilege_package_info_is_privacy_requestable(getuid(), pp_apd->pkgid, &privacy_requestable); + ret = privilege_package_info_is_privacy_requestable(getuid(), pp_apd->pkgid, g_list_first(pd->privilege_list)->data, &privacy_requestable); log_if(ret != PRVMGR_ERR_NONE, 1, "privilege_package_info_is_privacy_requestable failed"); if (privacy_requestable) level = "Ask user"; |