未验证 提交 0ca79f6d 编写于 作者: O openharmony_ci 提交者: Gitee

!2899 aafwk_lite编译告警修复

Merge pull request !2899 from 吴珞风/master
...@@ -941,7 +941,7 @@ HWTEST_F(AbilityMgrTest, testPostTask, Function | MediumTest | Level1) ...@@ -941,7 +941,7 @@ HWTEST_F(AbilityMgrTest, testPostTask, Function | MediumTest | Level1)
string hapPath = g_testPath + "testnative_hispark_taurus_liteos.hap"; string hapPath = g_testPath + "testnative_hispark_taurus_liteos.hap";
#endif #endif
AbilityEventHandler eventHandler1; AbilityEventHandler eventHandler1;
auto task = [this, hapPath]{ auto task = [hapPath]{
sem_init(&g_sem, 0, 0); sem_init(&g_sem, 0, 0);
InstallParam installParam = { .installLocation = 1, .keepData = false }; InstallParam installParam = { .installLocation = 1, .keepData = false };
bool installResult = Install(hapPath.c_str(), &installParam, TestBundleStateCallback); bool installResult = Install(hapPath.c_str(), &installParam, TestBundleStateCallback);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册