[
https://issues.apache.org/jira/browse/CB-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser updated CB-510:
--------------------------
Description:
For some reason, this shows an error saying that it must be run on the UI thread
webViewClient.onReceivedError(me.appView, -6, "The connection to the server was
unsuccessful.", url);
This leads to ugly code which has us run something on the UI thread, then spawn
another thread, and on that thread, run another runnable on the first thread.
I think that this will break, and this needs to be refactored. However, it's
currently not breaking any functionality.
was:
For some reason, this is no longer thread-safe:
webViewClient.onReceivedError(me.appView, -6, "The connection to the server was
unsuccessful.", url);
However, it currently works and doesn't throw that error.
Priority: Minor (was: Blocker)
Summary: loadUrlIntoView on DroidGap needs refactoring (was:
loadUrlIntoView on DroidGap is not Thread-Safe)
> loadUrlIntoView on DroidGap needs refactoring
> ---------------------------------------------
>
> Key: CB-510
> URL: https://issues.apache.org/jira/browse/CB-510
> Project: Apache Callback
> Issue Type: Sub-task
> Components: Android
> Affects Versions: Master
> Reporter: Joe Bowser
> Priority: Minor
> Labels: CordovaWebView
> Fix For: 1.8.0
>
>
> For some reason, this shows an error saying that it must be run on the UI
> thread
> webViewClient.onReceivedError(me.appView, -6, "The connection to the server
> was unsuccessful.", url);
> This leads to ugly code which has us run something on the UI thread, then
> spawn another thread, and on that thread, run another runnable on the first
> thread. I think that this will break, and this needs to be refactored.
> However, it's currently not breaking any functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira