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

Commit 19436972 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Support for getting the background color"

parents d7c8b6d2 9b90d553
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3061,6 +3061,13 @@ public class WebView extends AbsoluteLayout
        return mContentWidth;
    }

    /**
     * @hide
     */
    public int getPageBackgroundColor() {
        return nativeGetBackgroundColor();
    }

    /**
     * Pause all layout, parsing, and JavaScript timers for all webviews. This
     * is a global requests, not restricted to just this webview. This can be
@@ -9216,4 +9223,5 @@ public class WebView extends AbsoluteLayout
     * @return True if the layer is successfully scrolled.
     */
    private native boolean  nativeScrollLayer(int layer, int newX, int newY);
    private native int      nativeGetBackgroundColor();
}