Add the plugin execution information to a manifest
not a manifest for backup can cause the previous plugin execution information
to be saved after the upgrade is complete
Change-Id: Ic078226fb34caec77748b432623c2b59c1719ca5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
}
// retrieve and set plugin execution info if exists
- if (manifest_location_ == ManifestLocation::INSTALLED ||
- manifest_location_ == ManifestLocation::RECOVERY) {
+ if (store_location_ == StoreLocation::BACKUP && (
+ manifest_location_ == ManifestLocation::INSTALLED ||
+ manifest_location_ == ManifestLocation::RECOVERY)) {
std::vector<PkgQueryInterface::PluginInfo> plugin_list;
pkg_query.PluginExecutionInfo(&plugin_list);