删除延迟3秒弹起输入法

Signed-off-by: c00524366 <chenjiale5@hisilicon.com>
This commit is contained in:
c00524366
2021-09-29 17:49:12 +08:00
parent af4b8865fe
commit 8d468a4351
4 changed files with 16 additions and 5 deletions
@@ -151,15 +151,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);
}