Some package may not include any applications.
Change-Id: I8cfe8e540a5113c56175ec373a6252d438230978
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
api_version = app->api_version;
break;
}
+ if (api_version.empty())
+ // fallback if api-version not found. In case of addon package,
+ // application does not included in package.
+ api_version = m->api_version;
return api_version;
}
api_version = app->api_version;
break;
}
+ if (api_version.empty())
+ // fallback if api-version not found. In case of addon package,
+ // application does not included in package.
+ api_version = m->api_version;
return api_version;
}