解决控件每次解绑输入法的情况

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2022-03-03 15:44:09 +08:00
parent 3783e8bd8a
commit 916d1626bc
@@ -193,6 +193,7 @@ using namespace MessageID;
void InputMethodController::Attach(sptr<OnTextChangedListener> &listener)
{
textListener = listener;
PrepareInput(0, mClient, mInputDataChannel, mAttribute);
StartInput(mClient);
}