When certain tag has removed during package update and
plugin related with it has executed, "removed" plugin
should be executed. But there are no tag in manifest so
nullptr will be delivered into plugin.
Change-Id: I9373934d7f7a317e2e9ea59cd5ee5efc8ef7b7ea
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
ActionType action_type) {
xmlDocPtr plugin_doc_ptr = CreateDocPtrForPlugin(doc_ptr,
plugin_info_.name());
- if (!plugin_doc_ptr)
+ if (!plugin_doc_ptr && action_type_ != Plugin::ActionType::Removed)
return false;
int result = 0;