mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 14:43:36 -04:00
修改abilityId_
Signed-off-by: xiexiyun <xiexiyun@huawei.com> Change-Id: I1c58b53795d64eb073ac8ecc3c5b58f7c7db6eb9
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user