Chromium Code Reviews
DescriptionPrevent thread assertion for HTC mail apk
HTC's mail apk calls evaluateJavaScript() inside
InputConnection#setComposingText(). This is problematic with ImeThread
feature since InputConnection methods are now running on its own thread
(IME thread). This causes a thread check assertion in Android's framework
(android.webkit.WebView).
As a workaround, we set sEnforceThreadChecking to false immediately after
it was set in WebView's constructor.
HTC is actively fixing their apk to avoid this crash, but as a last resort,
this workaround will help avoid such a crash.
BUG=636717, 622151
Review-Url: https://codereview.chromium.org/2243753002
Cr-Commit-Position: refs/heads/master@{#414717}
(cherry picked from commit f99c4ade4b10c24a59b7bf34de4d7509e7ca8708)
Committed: https://chromium.googlesource.com/chromium/src/+/e1d506220fb8a5993f7025c0e91aafb502bb7b6d
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||