Add privilege_info_has_privacy_attr() 28/243728/1
authorYunjin Lee <yunjin-.lee@samsung.com>
Wed, 9 Sep 2020 10:24:13 +0000 (19:24 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Wed, 9 Sep 2020 10:24:13 +0000 (19:24 +0900)
commit7dd10163b7f62968e8bdccbfa2cf2c370584b667
tree57f93dd24255489b5a851294c592f2a25c72510c
parent4988775751a3a85df35269df2ac6ce9b4a3d7652
Add privilege_info_has_privacy_attr()

- Add API to check whether the given privilege has privacy attribute.
(privilege_info_is_privacy() can return different result according to
 the environment whether privacy is enabled or not, but it doesn't.)

Change-Id: I678651ee9f8400282621d787fa8346a55597b1c6
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
capi/include/privilege_info.h
capi/src/privilege_info.c
test/tc-privilege-info.c