Merge "Fix for the missing focus in WebView form fields."
This commit is contained in:
@@ -400,6 +400,9 @@ public class CaptivePortalLoginActivity extends Activity {
|
|||||||
return;
|
return;
|
||||||
} else if (mPagesLoaded == 2) {
|
} else if (mPagesLoaded == 2) {
|
||||||
// Prevent going back to empty first page.
|
// 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();
|
view.clearHistory();
|
||||||
}
|
}
|
||||||
testForCaptivePortal();
|
testForCaptivePortal();
|
||||||
|
|||||||
Reference in New Issue
Block a user