Fix metadata plugin parser handlers 98/263798/2
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:26:04 +0000 (16:26 +0900)
commit49156b2731815a84bfad9f663b5ee504076311a7
treedc66dfcd11e22dacd57ee0a468e681ed4060a1cf
parent02c222ea2fede9f40fa157cd0b1c2501f45c8da0
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