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

Commit 9daceaf6 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Small update to WebResourceRequest.isRedirect

Specify that 'isRedirect' is only true for server-side redirects.

Bug: 22346196
Change-Id: I9a8c31476c796265f554327dfff46778c5f84399
parent 4f160735
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -40,9 +40,9 @@ public interface WebResourceRequest {
    boolean isForMainFrame();

    /**
     * Gets whether the request was a result of a redirect.
     * Gets whether the request was a result of a server-side redirect.
     *
     * @return whether the request was a result of a redirect.
     * @return whether the request was a result of a server-side redirect.
     */
    boolean isRedirect();