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

Commit 4bfd6f0f authored by John Reck's avatar John Reck
Browse files

Expose hook for crash backup

 Allows browser to know when to update the crash state in response
 to a textfield's contents changing

Change-Id: Idda7a2931f4c9ae01418b91bbabb1e237f118664
parent aab49b40
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -9023,8 +9023,9 @@ public class WebView extends AbsoluteLayout
    /**
    /**
     *  Update our cache with updatedText.
     *  Update our cache with updatedText.
     *  @param updatedText  The new text to put in our cache.
     *  @param updatedText  The new text to put in our cache.
     *  @hide
     */
     */
    /* package */ void updateCachedTextfield(String updatedText) {
    protected void updateCachedTextfield(String updatedText) {
        // Also place our generation number so that when we look at the cache
        // Also place our generation number so that when we look at the cache
        // we recognize that it is up to date.
        // we recognize that it is up to date.
        nativeUpdateCachedTextfield(updatedText, mTextGeneration);
        nativeUpdateCachedTextfield(updatedText, mTextGeneration);