Problems with the onscreen Android keyboard

On some Android devices (like Nexus 7 2012) sometimes, when using SDL_StartTextInput(), you get a SDL_WINDOWEVENT_FOCUS_LOST event.
This can cause trouble on desktop games which rely on seeing if you have a focus, that are ported to Android.
Maybe that event shouldn’t be generated on Android, since the main events loop should be paused anyway while losing focus?