fix infos

Signed-off-by: dujingcheng <dujingcheng@huawei.com>
Change-Id: I9d4e5c9dc60210409243943935e3f705043166a6
This commit is contained in:
dujingcheng
2022-03-07 16:28:50 +08:00
parent a93c03d7f3
commit 2e8b3b7fe0
@@ -434,6 +434,10 @@ ErrCode BMSEventHandler::CheckAppLabelInfo(
{
APP_LOGD("Check APP label");
ErrCode ret = ERR_OK;
if (infos.empty()) {
return ret;
}
std::string bundleName = (infos.begin()->second).GetBundleName();
std::string vendor = (infos.begin()->second).GetVendor();
auto versionCode = (infos.begin()->second).GetVersionCode();