After ther installeation is complete
The SendFinish function call the api
Change-Id: I3c912aec2d70c446b934eecf562dff7a86b8860b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
break;
}
if (it != installers_.end() && result == AppInstaller::Result::ERROR) {
- pkgmgr_parser_clear_cache_memory_db();
do {
AppInstaller::Result ret = (*it)->Undo();
if (ret != AppInstaller::Result::OK && ret != AppInstaller::Result::ERROR)
result = AppInstaller::Result::UNDO_ERROR;
} while (it-- != installers_.begin());
} else {
- pkgmgr_parser_clear_cache_memory_db();
if (pkgmgr_->GetRequestType() != RequestType::Recovery)
global_recovery_->AppendCleanUp();
--it;