commit | e4bbb1cc451c7ebdad9f92968732fc4f6c21a70c | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Fri Mar 15 11:38:44 2013 -0700 |
committer | Craig Mautner <cmautner@google.com> | Fri Mar 15 11:38:44 2013 -0700 |
tree | 16173d2d812b1ff818d008739ce3f411f603839d | |
parent | b38258f357a7857ce5d53caad0af9c38053ab071 [diff] |
Catch BadTokenException and continue. BadTokenException is a normal consequence of swapping IMEs while there is a DO_SHOW_SOFT_INPUT message in the IIMethodWrapper queue. This race condition cannot be avoided without an unacceptable lock down of InputMethodManagerService. Fixes bug 8387663. Fixes bug 8263462. Change-Id: I2c21573cf972145ab08e66604cdb9344139a3f31