mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-21 12:35:22 -04:00
call UiContent mehod
Signed-off-by: maojiangping <maojiangping@huawei.com> Change-Id: I8f5f6afa89f98ba4ee0bf75eec87796b1de349f2
This commit is contained in:
@@ -191,12 +191,11 @@ WMError WindowImpl::SetUIContent(std::shared_ptr<AbilityRuntime::AbilityContext>
|
||||
WLOGFE("fail to SetUIContent id: %{public}d", property_->GetWindowId());
|
||||
return WMError::WM_ERROR_NULLPTR;
|
||||
}
|
||||
// TODO: fix me
|
||||
// if (isdistributed) {
|
||||
// uiContent_->Restore(this, contentInfo, storage);
|
||||
// } else {
|
||||
// uiContent_->Initialize(this, contentInfo, storage);
|
||||
// }
|
||||
if (isdistributed) {
|
||||
uiContent_->Restore(this, contentInfo, storage);
|
||||
} else {
|
||||
uiContent_->Initialize(this, contentInfo, storage);
|
||||
}
|
||||
return WMError::WM_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user