Merge "inputflinger: Check for KeyCharacterMap before use" into main