@@ -49,7 +49,7 @@ Licensed to the Apache Software Foundation (ASF) under one
4949 * application. It should be extended by the user to load the specific
5050 * html file that contains the application.
5151 *
52- * As an example:
52+ * <p> As an example:</p>
5353 *
5454 * <pre>
5555 * package org.apache.cordova.examples;
@@ -68,17 +68,16 @@ Licensed to the Apache Software Foundation (ASF) under one
6868 * }
6969 * </pre>
7070 *
71- * Cordova xml configuration: Cordova uses a configuration file at
72- * res/xml/config.xml to specify its settings. See "The config.xml File"
73- * guide in cordova-docs at http://cordova.apache.org/docs for the documentation
74- * for the configuration. The use of the set*Property() methods is
75- * deprecated in favor of the config.xml file.
71+ * <p>Cordova xml configuration: Cordova uses a configuration file at
72+ * res/xml/config.xml to specify its settings. See the "Config.xml API" documentation for
73+ * configuration details at <a href="https://cordova.apache.org/docs">Apache Cordova Docs</a>.</p>
7674 *
75+ * <p>The use of the set*Property() methods is deprecated in favor of the config.xml file.</p>
7776 */
7877public class CordovaActivity extends AppCompatActivity {
7978 public static String TAG = "CordovaActivity" ;
8079
81- // The webview for our app
80+ // The WebView for our app
8281 protected CordovaWebView appView ;
8382
8483 private static int ACTIVITY_STARTING = 0 ;
@@ -206,7 +205,7 @@ protected void createViews() {
206205 /**
207206 * Construct the default web view object.
208207 * <p/>
209- * Override this to customize the webview that is used.
208+ * Override this to customize the WebView that is used.
210209 */
211210 protected CordovaWebView makeWebView () {
212211 return new CordovaWebViewImpl (makeWebViewEngine ());
@@ -227,7 +226,7 @@ public Object onMessage(String id, Object data) {
227226 }
228227
229228 /**
230- * Load the url into the webview .
229+ * Load the url into the WebView .
231230 */
232231 public void loadUrl (String url ) {
233232 if (appView == null ) {
@@ -250,7 +249,7 @@ protected void onPause() {
250249
251250 if (this .appView != null ) {
252251 // CB-9382 If there is an activity that started for result and main activity is waiting for callback
253- // result, we shoudn 't stop WebView Javascript timers, as activity for result might be using them
252+ // result, we shouldn 't stop WebView Javascript timers, as activity for result might be using them
254253 boolean keepRunning = this .keepRunning || this .cordovaInterface .activityResultCallback != null ;
255254 this .appView .handlePause (keepRunning );
256255 }
0 commit comments