Merge "Implement native key pre-dispatching to IMEs." into gingerbread