!1875 元能力ability_manager_service_account_test测试套运行阻塞问题修改

Merge pull request !1875 from mingxihua/master
This commit is contained in:
openharmony_ci 2022-05-24 13:34:33 +00:00 committed by Gitee
commit f513a5706a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -411,6 +411,13 @@ public:
{
return false;
}
virtual bool ImplicitQueryInfoByPriority(const Want &want, int32_t flags, int32_t userId,
AbilityInfo &abilityInfo, ExtensionAbilityInfo &extensionAbilityInfo) override
{
abilityInfo.name = "MainAbility";
abilityInfo.bundleName = "com.ohos.launcher";
return true;
}
public:
using QueryAbilityInfoFunType =
std::function<bool(std::string bundleName, AbilityInfo &abilityInfo, ElementName &elementTemp)>;