Allow some InputConnection methods to be called on UI thread
Assertions are removed from some of the InputConnection methods that merely post on UI thread. In doing so, mPendingAccent was changed to be accessed only on UI thread. However, beginBatchEdit() / endBatchEdit() implementations are quite complicated and no evidence calling those on UI thread was found so far. Also, for get* methods we return cached results. BUG=643477 Review-Url: https://codereview.chromium.org/2299913003 Cr-Commit-Position: refs/heads/master@{#417499}
Showing
This diff is collapsed.
Please register or sign in to comment