Disallow WV APIs being used from different threads
Currently we throw an exception if WebView APIs are used from different threads if the target SDK version of the app is >= JBMR2 unless the app uses reflection to alter the value of the sEnforceThreadChecking variable. Given that Android ToT doesn't allow apps to target <JMBR2, the only way apps can get around this restriction is through reflection. This CL adds a flag to always enforce thread checking. Bug: 440569275 Test: Existing presubmit tests Flag: android.webkit.always_enforce_thread_checking Change-Id: I7dc83c640829a664d68521904a0cc17c3a6536f5
Loading
Please register or sign in to comment