cherry-pick 108 to 3.1release

This commit is contained in:
openharmony_ci
2022-04-14 09:26:05 +00:00
committed by gaoxiang
parent c97cc698d8
commit e6f0cf0f72
12 changed files with 83 additions and 10 deletions
@@ -416,5 +416,16 @@ using namespace MessageID;
IMSA_HILOGI("InputMethodController::GetInputPattern");
return inputPattern_;
}
}
}
void InputMethodController::SetCallingWindow(uint32_t windowId)
{
IMSA_HILOGI("InputMethodController::SetCallingWindow windowId = %{public}d", windowId);
if (!mAgent) {
IMSA_HILOGI("InputMethodController::SetCallingWindow mAgent is nullptr");
return;
}
mAgent->SetCallingWindow(windowId);
return;
}
} // namespace MiscServices
} // namespace OHOS