Merge "Fix for the missing focus in WebView form fields."

This commit is contained in:
Hugo Benichi
2017-07-11 07:05:26 +00:00
committed by Gerrit Code Review

View File

@@ -400,6 +400,9 @@ public class CaptivePortalLoginActivity extends Activity {
return;
} else if (mPagesLoaded == 2) {
// Prevent going back to empty first page.
// Fix for missing focus, see b/62449959 for details. Remove it once we get a
// newer version of WebView (60.x.y).
view.requestFocus();
view.clearHistory();
}
testForCaptivePortal();