From 85aa740c9864881db562bb1f1fcf672531fea8b1 Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Wed, 11 Jul 2012 09:35:29 -0700 Subject: [PATCH] [CB-481] Removed todo comment introduced by bryce, clarified what is going on --- framework/src/org/apache/cordova/App.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/src/org/apache/cordova/App.java b/framework/src/org/apache/cordova/App.java index 14816240..dbc89090 100755 --- a/framework/src/org/apache/cordova/App.java +++ b/framework/src/org/apache/cordova/App.java @@ -48,7 +48,10 @@ public class App extends Plugin { if (action.equals("clearCache")) { this.clearCache(); } - else if (action.equals("show")) { // TODO @bc - Not in master branch. When should this be called? + else if (action.equals("show")) { + // This gets called from JavaScript onCordovaReady to show the webview. + // I recommend we change the name of the Message as spinner/stop is not + // indicative of what this actually does (shows the webview). cordova.getActivity().runOnUiThread(new Runnable() { public void run() { webView.postMessage("spinner", "stop");