do nothing when KeyboardStatus is NONE

Signed-off-by: caocan <1532643766@qq.com>
Change-Id: I8a98c7eb98479d19cdf452c1e3a60e35b2f042f7
This commit is contained in:
caocan
2022-03-25 11:51:46 +08:00
parent 4324bb43bc
commit 61d32ba331
@@ -119,6 +119,9 @@ void OnTextChangedListenerImpl::SendKeyboardInfo(const MiscServices::KeyboardInf
void OnTextChangedListenerImpl::HandleKeyboardStatus(MiscServices::KeyboardStatus status)
{
LOGI("[OnTextChangedListenerImpl] HandleKeyboardStatus status: %{public}d", status);
if (status == MiscServices::KeyboardStatus::NONE) {
return;
}
SetKeyboardStatus(status == MiscServices::KeyboardStatus::SHOW);
}