mirror of
https://github.com/openharmony/appexecfwk_standard.git
synced 2026-07-21 09:25:21 -04:00
fix infos
Signed-off-by: dujingcheng <dujingcheng@huawei.com> Change-Id: I9d4e5c9dc60210409243943935e3f705043166a6
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user