mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-27 08:51:48 +00:00
Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
74e5f91548
commit
f96f0c0c50
@ -173,7 +173,7 @@ int32_t PerUserSession::HideKeyboard(const sptr<IInputClient> ¤tClient)
|
||||
IMSA_HILOGE("ime: %{public}d is not exist", clientInfo->bindImeType);
|
||||
return ErrorCode::ERROR_IME_NOT_STARTED;
|
||||
}
|
||||
auto ret = RequestIme(data, RequestType::REQUEST_HIDE, [&data] { return data->core->HideKeyboard(); });
|
||||
auto ret = RequestIme(data, RequestType::NORMAL, [&data] { return data->core->HideKeyboard(); });
|
||||
if (ret != ErrorCode::NO_ERROR) {
|
||||
IMSA_HILOGE("failed to hide keyboard, ret: %{public}d", ret);
|
||||
return ErrorCode::ERROR_KBD_HIDE_FAILED;
|
||||
|
Loading…
Reference in New Issue
Block a user