mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-20 20:20:13 -04:00
!29 添加回注释代码,调用UiContent的方法
Merge pull request !29 from maojiangping/master
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