Fix metadata plugin parser handlers
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 10 Sep 2021 07:24:15 +0000 (16:24 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 10 Sep 2021 07:45:54 +0000 (16:45 +0900)
commitdcabe81ba81cf0c150fe07e48aac5daa994eb56b
tree4eeeebbc8ad1fb95fc9d27cd39733920fb161119
parentb4c00228e304fe0c4881486eaf2061a40a185367
Fix metadata plugin parser handlers

This patch removes "REMOVE" step. Currently, when the package is
upgrading, the "UPGRADE" function is invoked. And then, the "REMOVE"
function is invoked. In this case, the metadata plugin parser removes
installed data from the appsvc database. This patch prevents to remove
the alias and allowed infos.

Change-Id: I80080adc0d5d1538bfb88ed3001b99e5a034a09c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
parser/metadata/alias-appid/pkgmgr_interface.cc
parser/metadata/allowed-appid/pkgmgr_interface.cc