删除延迟3秒拉起输入法

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2021-10-11 19:05:22 +08:00
parent fe9ad48c12
commit adb0cea38a
5 changed files with 17 additions and 7 deletions
@@ -156,15 +156,15 @@ using namespace MessageID;
}
}
void InputMethodController::Attach()
void InputMethodController::Attach(sptr<OnTextChangedListener> &listener)
{
PrepareInput(0, mClient, mInputDataChannel, mAttribute);
textListener=listener;
}
void InputMethodController::ShowTextInput(sptr<OnTextChangedListener> &listener)
void InputMethodController::ShowTextInput()
{
IMSA_HILOGI("InputMethodController::ShowTextInput");
textListener = listener;
StartInput(mClient);
}