Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>

Changes to be committed:
This commit is contained in:
ma-shaoyin 2023-05-23 14:54:14 +08:00
parent 6799c86fe4
commit a18f39ac8a

View File

@ -456,7 +456,7 @@ int32_t InputMethodController::ShowTextInput()
int32_t InputMethodController::HideTextInput()
{
IMSA_HILOGD("InputMethodController::HideTextInput");
IMSA_HILOGI("InputMethodController::HideTextInput");
if (!isBound_.load()) {
IMSA_HILOGE("not bound yet");
return ErrorCode::ERROR_CLIENT_NOT_BOUND;
@ -499,6 +499,7 @@ int32_t InputMethodController::ShowCurrentInput()
int32_t InputMethodController::Close()
{
IMSA_HILOGI("InputMethodController::Close");
isBound_.store(false);
isEditable_.store(false);
InputmethodTrace tracer("InputMethodController Close trace.");