fix getContentInfo api

Signed-off-by: jiangdayuan <jiangdayuan@huawei.com>
Change-Id: I2755c053a1fda6dbedf280dc4e116ab9c5bc9bee
This commit is contained in:
jiangdayuan
2022-01-14 16:20:08 +08:00
parent 64b93b5699
commit 8b0c41e3ea
+2 -3
View File
@@ -206,8 +206,7 @@ const std::string& WindowImpl::GetContentInfo()
WLOGFE("fail to GetContentInfo id: %{public}d", property_->GetWindowId());
return "";
}
// TODO: fix me - uiContent_->GetContentInfo()
return "";
return uiContent_->GetContentInfo();
}
WMError WindowImpl::SetSystemBarProperty(WindowType type, const SystemBarProperty& property)
@@ -601,4 +600,4 @@ bool WindowImpl::IsWindowValid() const
return ((state_ > STATE_INITIAL) && (state_ < STATE_BOTTOM));
}
}
}
}