Add a ThreadLocal flag to replace the reflection in
shouldTriggerDelayedOnCreateInputConnection()
shouldTriggerDelayedOnCreateInputConnection() uses reflection to
distinguish the callers. It's pretty nasty. This CL passes a ThreadLocal
flag from the callers to it to achieve the same purpose.
BUG=
636474