I have a issue with how edittext is responding in certain conditions. Is there a way to include actual AOSP code in your build of an app to be able to actually debug the code in the edittext api, as it is normally stubbed out.
Check this answer for details how to add android SDK sources to android studio Android Studio: how to attach Android SDK sources?