Add a new API IMM#dispatchKeyEventFromInputMethod(). ยท android/platform_frameworks_base@2afe2aa

This is a part of effort to reduce the number of dependencies on @hide method in BaseInputConnection. Currently BaseInputConnection#sendKeyEvent() cannot be implemented without relying on @hide in...