Fix for a crash in HTC mail
For some reason, InputConnection#beginBatchEdit() is called on UI thread, only after https://chromium-review.googlesource.com/c/chromium/src/+/894499 has landed. One theory is that HTC mail has been doing this the entire time, but beginBatchEdit() and some other methods were being ignored at the beginning while delayed onCreateInputConnection was running. Since this is observed only on HTC mail, let me land a temporary fix for HTC mail for now, and investigate this further as necessary. TBR: tedchoc@chromium.org Bug: 820756 Change-Id: Ib33dfa57372b0d914ccc294d91a9e00899366c1b Reviewed-on: https://chromium-review.googlesource.com/961276Reviewed-by:Changwan Ryu <changwan@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Commit-Queue: Changwan Ryu <changwan@chromium.org> Cr-Commit-Position: refs/heads/master@{#542926}
Showing
Please register or sign in to comment