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

Commit 4c69fc57 authored by Martin Kosiba's avatar Martin Kosiba Committed by Android (Google) Code Review
Browse files

Merge "Update the JavaDoc on getVisibleTitleHeight."

parents c71ac984 dd409dfb
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1740,7 +1740,7 @@ public class WebView extends AbsoluteLayout
    }

    /**
     * returns the height of the titlebarview (if any). Does not care about
     * Returns the height (in pixels) of the embedded title bar (if any). Does not care about
     * scrolling
     * @hide
     */
@@ -1749,12 +1749,15 @@ public class WebView extends AbsoluteLayout
    }

    /**
     * Return the amount of the titlebarview (if any) that is visible
     * Return the visible height (in pixels) of the embedded title bar (if any).
     *
     * @return This method is obsolete and always returns 0.
     * @deprecated This method is now obsolete.
     */
    @Deprecated
    public int getVisibleTitleHeight() {
        // Actually, this method returns the height of the embedded title bar if one is set via the
        // hidden setEmbeddedTitleBar method.
        checkThread();
        return getVisibleTitleHeightImpl();
    }