mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 15:00:12 +00:00
fix error
Signed-off-by: maoliang <maoliang8@huawei.com>
This commit is contained in:
parent
273fdabf0f
commit
7c75109855
@ -106,7 +106,6 @@ WmErrorCode JsWindowRegisterManager::RegisterListener(sptr<Window> window, std::
|
||||
windowManagerListener->SetMainEventHandler();
|
||||
WmErrorCode ret = ProcessRegisterCallback(listenerFunctionType, caseType, windowManagerListener, window,
|
||||
true, env, parameter);
|
||||
|
||||
if (ret != WmErrorCode::WM_OK) {
|
||||
WLOGFE("[NAPI]Register type %{public}s failed", type.c_str());
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user