Force database cleanup when app files do not exists 81/104381/8 submit/tizen_3.0/20170106.072144
authorPiotr Ganicz <p.ganicz@samsung.com>
Tue, 13 Dec 2016 07:17:22 +0000 (08:17 +0100)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Fri, 6 Jan 2017 07:14:05 +0000 (23:14 -0800)
commit9e0f3eb3406aeb59e930b5eed56a5fc0890502fa
treee2f4d495c4e618c6380a93f0bb1917bdb1c721a6
parent706e1095ba24ed26c7809ead1910849a8434c23f
Force database cleanup when app files do not exists

This commit allows user to install app while following conditions
are accomplished:
 1. Database stores the manifest file for the same pkgid as installed app.
 2. There aren't any app files on the device.

It removes whole manifest information from that database and executes
RequestType::Install strategy.

Requires:
  [1] https://review.tizen.org/gerrit/#/c/104380/

Change-Id: I5447002ce3377b8162ecf698303a45a45c0d26f8
src/common/pkgmgr_interface.cc
src/common/step/configuration/step_parse_manifest.cc