Remove TODO comment about calling webView from non-ui thread.

I tried it and it turned out to be a bit slower instead of faster.
This commit is contained in:
Andrew Grieve 2012-09-11 14:51:38 -04:00
parent 18893bf6cd
commit 9e3e7e1820

View File

@ -303,8 +303,6 @@ public class NativeToJsMessageQueue {
webView.setNetworkAvailable(true);
}
public void onNativeToJsMessageAvailable() {
// TODO(agrieve): consider running this *not* on the main thread, since it just
// sends a message under-the-hood anyways.
cordova.getActivity().runOnUiThread(runnable);
}
}