Merge "Fix for the missing focus in WebView form fields." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-06-23 22:33:10 +00:00
committed by Android (Google) Code Review

View File

@@ -360,6 +360,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();