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

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

Merge "Add a hidden generic property interface"

parents 97912d0b 63775894
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -1782,6 +1782,20 @@ public class WebSettings {
        }
    }

    /**
     * @hide
     */
    public void setProperty(String key, String value) {
        mWebView.nativeSetProperty(key, value);
    }

    /**
     * @hide
     */
    public String getProperty(String key) {
        return mWebView.nativeGetProperty(key);
    }

    /**
     * Transfer messages from the queue to the new WebCoreThread. Called from
     * WebCore thread.
+2 −0
Original line number Diff line number Diff line
@@ -9289,4 +9289,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 String   nativeGetProperty(String key);
}