修改abilityId_

Signed-off-by: xiexiyun <xiexiyun@huawei.com>
Change-Id: I1c58b53795d64eb073ac8ecc3c5b58f7c7db6eb9
This commit is contained in:
xiexiyun
2022-04-19 16:37:33 +08:00
parent a19299ce26
commit 3a096381c2
+2 -2
View File
@@ -758,7 +758,7 @@ void AceAbility::SetBackgroundColor(uint32_t color)
LOGE("SetBackgroundColor failed: container is null.");
return;
}
ContainerScope scope(instanceId_);
ContainerScope scope(abilityId_);
auto taskExecutor = container->GetTaskExecutor();
if (!taskExecutor) {
LOGE("SetBackgroundColor failed: taskExecutor is null.");
@@ -786,7 +786,7 @@ uint32_t AceAbility::GetBackgroundColor()
LOGE("AceAbilityHandler GetBackgroundColor failed: taskExecutor is null.");
return 0x000000;
}
ContainerScope scope(instanceId_);
ContainerScope scope(abilityId_);
uint32_t bgColor = 0x000000;
taskExecutor->PostSyncTask([&bgColor, container]() {
if (!container) {