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

Commit 9b90d553 authored by John Reck's avatar John Reck
Browse files

Support for getting the background color

Change-Id: I58a52f79e5a50dbb2cd1ba81d13e95ed9a1b7095
parent 9a67f261
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();
}