OSDN Git Service

Relax form autocomplete conditions
authorBen Murdoch <benm@google.com>
Fri, 9 Sep 2011 15:49:44 +0000 (16:49 +0100)
committerBen Murdoch <benm@google.com>
Fri, 9 Sep 2011 21:38:39 +0000 (22:38 +0100)
commit2376f8253f59e70e733bdf338e9cb49535f3d50f
treee1e0fdcad17eb98d6904967c9588064b26eaeedf
parent02ea7d48773210fa0f29299269aca26b3201b1d0
Relax form autocomplete conditions

Use the URL host and path rather than the complete url to store
form autocomplete data. This helps in the situation that a site
uses some dynamic query string on the page that contains the form.

Also set the autoocmplete threshold to 1 so that we don't flick the
autocomplete options up and down as you type the first few characters.

Bug: 5265606
Change-Id: I7b372400062ae34f70a78b786007910dc179b101
core/java/android/webkit/BrowserFrame.java
core/java/android/webkit/WebTextView.java
core/java/android/webkit/WebView.java