forked from github/cordova-android
the plugins were executing on the UI thread. now on background thread. calls to loadUrl are now automatically on the ui thread
This commit is contained in:
@@ -280,9 +280,13 @@ public class DroidGap extends Activity {
|
||||
}
|
||||
}
|
||||
|
||||
public void loadUrl(String url)
|
||||
public void loadUrl(final String url)
|
||||
{
|
||||
this.appView.loadUrl(url);
|
||||
this.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
DroidGap.this.appView.loadUrl(url);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user