Adapt to tizenorg: Generate app label from pkg_id 96/17996/4
authorMarcin Lis <m.lis@samsung.com>
Thu, 13 Mar 2014 12:20:16 +0000 (13:20 +0100)
committerMarcin Lis <m.lis@samsung.com>
Wed, 9 Apr 2014 13:49:05 +0000 (15:49 +0200)
commit2b6aa13356ec326834d495c2549a7a9476bf6098
tree4963d80364296198f08af9631371f90dee891d15
parentdf02fa7f5c882754b3be2ff216e836aebe5dbbf4
Adapt to tizenorg: Generate app label from pkg_id

Add "generate_app_label" internal function, which is currently a stub that
always returns label: "User". This is temporary solution, the function will be
implemented for both Tizen IVI and Mobile profiles using preprocessor
directives and compilation macros.

Function is used in libprivilege API functions that use pkg_id,
app_name or equivalent parameter.

In addition, instructions in "perm_app_uninstall" and
"perm_app_revoke_permissions" are temporary commented out. These functions
will be restored when the libprivilege database is able to keep the same label
for all installed applications and uninstall/revoke them separately.

Change-Id: I1ee2f564f033536a672fe56110e10d507ad8f269
Signed-off-by: Marcin Lis <m.lis@samsung.com>
include/common.h
include/privilege-control.h
src/common.c
src/privilege-control.c