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

Commit 0e0b2daa authored by Kristian Monsen's avatar Kristian Monsen
Browse files

Fix for bug 8589670: Marking a not called WebChromeClient as deprecated.

This is just a documentation improvement, the method is not called anymore.

Change-Id: I6f704f7f1a5eef5048b7bf2c52c0589bc8e99839
parent 77d94957
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27801,7 +27801,7 @@ package android.webkit {
    method public void onReceivedTouchIconUrl(android.webkit.WebView, java.lang.String, boolean);
    method public void onRequestFocus(android.webkit.WebView);
    method public void onShowCustomView(android.view.View, android.webkit.WebChromeClient.CustomViewCallback);
    method public void onShowCustomView(android.view.View, int, android.webkit.WebChromeClient.CustomViewCallback);
    method public deprecated void onShowCustomView(android.view.View, int, android.webkit.WebChromeClient.CustomViewCallback);
  }
  public static abstract interface WebChromeClient.CustomViewCallback {
+6 −1
Original line number Diff line number Diff line
@@ -69,7 +69,9 @@ public class WebChromeClient {

    /**
     * Notify the host application that the current page would
     * like to show a custom View.
     * like to show a custom View.  This is used for Fullscreen
     * video playback; see "HTML5 Video support" documentation on
     * {@link WebView}.
     * @param view is the View object to be shown.
     * @param callback is the callback to be invoked if and when the view
     * is dismissed.
@@ -84,7 +86,10 @@ public class WebChromeClient {
     * {@link ActivityInfo#screenOrientation ActivityInfo.screenOrientation}.
     * @param callback is the callback to be invoked if and when the view
     * is dismissed.
     * @deprecated This method supports the obsolete plugin mechanism,
     * and will not be invoked in future
     */
    @Deprecated
    public void onShowCustomView(View view, int requestedOrientation,
            CustomViewCallback callback) {};