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

Commit fc8f2ca6 authored by Nicolas Roard's avatar Nicolas Roard Committed by Android (Google) Code Review
Browse files

Merge "Modify nativeSetProperty to return a boolean indicating if we need to...

Merge "Modify nativeSetProperty to return a boolean indicating if we need to invalidate the content or not."
parents b7f4d117 872cf224
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1807,7 +1807,9 @@ public class WebSettings {
     * @hide
     */
    public void setProperty(String key, String value) {
        mWebView.nativeSetProperty(key, value);
        if (mWebView.nativeSetProperty(key, value)) {
            mWebView.contentInvalidateAll();
        }
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -9278,6 +9278,6 @@ public class WebView extends AbsoluteLayout
     */
    private native boolean  nativeScrollLayer(int layer, int newX, int newY);
    private native int      nativeGetBackgroundColor();
    native void     nativeSetProperty(String key, String value);
    native boolean  nativeSetProperty(String key, String value);
    native String   nativeGetProperty(String key);
}