From 27acb264848b2b402b7a7c15fa5add8433de3117 Mon Sep 17 00:00:00 2001 From: jiangdayuan Date: Fri, 14 Jan 2022 16:20:08 +0800 Subject: [PATCH] fixed 8b0c41e from https://gitee.com/jiangdayuan/windowmanager/pulls/52 fix getContentInfo api Signed-off-by: jiangdayuan Change-Id: I2755c053a1fda6dbedf280dc4e116ab9c5bc9bee --- wm/src/window_impl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wm/src/window_impl.cpp b/wm/src/window_impl.cpp index 24f477bc90..cc7f09d622 100644 --- a/wm/src/window_impl.cpp +++ b/wm/src/window_impl.cpp @@ -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) @@ -616,4 +615,4 @@ bool WindowImpl::IsWindowValid() const return ((state_ > STATE_INITIAL) && (state_ < STATE_BOTTOM)); } } -} \ No newline at end of file +} -- Gitee