Add workaround for Android U

On android U, InputManager.getInstance()
calls ActivityThread.currentApplication(), which
requires a non-null Application.

Fixes <SwallowJoe>