Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7c7899c authored by Nate Fischer's avatar Nate Fischer Committed by Android (Google) Code Review
Browse files

Merge "WebView: remove "</p>" tags from docs"

parents 9918084f f02f8464
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ package android.webkit;
 * <p>
 * If reporting is enabled, all reports will be sent according to the privacy policy referenced by
 * {@link android.webkit.WebView#getSafeBrowsingPrivacyPolicyUrl()}.
 * </p>
 */
public abstract class SafeBrowsingResponse {

+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ import android.annotation.Nullable;
 *     return null;
 *   }
 * });
 * </pre></p>
 * </pre>
 */
public abstract class ServiceWorkerController {

+1 −1
Original line number Diff line number Diff line
@@ -289,7 +289,7 @@ public class WebChromeClient {
     * (API level > {@link android.os.Build.VERSION_CODES#M})
     * this method is only called for requests originating from secure
     * origins such as https. On non-secure origins geolocation requests
     * are automatically denied.</p>
     * are automatically denied.
     *
     * @param origin The origin of the web content attempting to use the
     *               Geolocation API.
+6 −6
Original line number Diff line number Diff line
@@ -22,30 +22,30 @@ import android.os.Handler;
/**
 * <p>The Java representation of the
 * <a href="https://html.spec.whatwg.org/multipage/comms.html#messageport">
 * HTML5 message ports.</a> </p>
 * HTML5 message ports.</a>
 *
 * <p>A Message port represents one endpoint of a Message Channel. In Android
 * webview, there is no separate Message Channel object. When a message channel
 * is created, both ports are tangled to each other and started, and then
 * returned in a MessagePort array, see {@link WebView#createWebMessageChannel}
 * for creating a message channel. </p>
 * for creating a message channel.
 *
 * <p>When a message port is first created or received via transfer, it does not
 * have a WebMessageCallback to receive web messages. The messages are queued until
 * a WebMessageCallback is set. </p>
 * a WebMessageCallback is set.
 *
 * <p>A message port should be closed when it is not used by the embedder application
 * anymore. A closed port cannot be transferred or cannot be reopened to send
 * messages. Close can be called multiple times. </p>
 * messages. Close can be called multiple times.
 *
 * <p>When a port is transferred to JS, it cannot be used to send or receive messages
 * at the Java side anymore. Different from HTML5 Spec, a port cannot be transferred
 * if one of these has ever happened: i. a message callback was set, ii. a message was
 * posted on it. A transferred port cannot be closed by the application, since
 * the ownership is also transferred. </p>
 * the ownership is also transferred.
 *
 * <p>It is possible to transfer both ports of a channel to JS, for example for
 * communication between subframes.</p>
 * communication between subframes.
 */
public abstract class WebMessagePort {

+0 −2
Original line number Diff line number Diff line
@@ -1394,11 +1394,9 @@ public abstract class WebSettings {
     * Safe browsing is disabled by default. The recommended way to enable Safe browsing is using a
     * manifest tag to change the default value to enabled for all WebViews (read <a
     * href="{@docRoot}reference/android/webkit/WebView.html">general Safe Browsing info</a>).
     * </p>
     *
     * <p>
     * This API overrides the manifest tag value for this WebView.
     * </p>
     *
     * @param enabled Whether Safe browsing is enabled.
     */
Loading