fix keypad test crash bug
Merge pull request #4298 from boyu0/fix_keypadtest_crash

[ci skip]fix keypad test crash bug