mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-23 22:59:45 +00:00
commit
c7dcd779dd
@ -224,6 +224,9 @@ namespace MiscServices {
|
||||
keyEvent->SetKeyAction(2);
|
||||
keyEvent->SetKeyCode(2013);
|
||||
|
||||
sptr<OnTextChangedListener> textListener = new TextListener();
|
||||
imc->Attach(textListener);
|
||||
|
||||
bool ret = imc->dispatchKeyEvent(keyEvent);
|
||||
EXPECT_TRUE(ret);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user