summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-07-11 07:05:26 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-07-11 07:05:26 +0000
commit1f975924286d879baafcea4bd7639da5cbe14169 (patch)
tree007c3b73ab68418fbc866f2084b64dc780385e03
parenteed348fc9cad104595801f8e097623b029a11906 (diff)
parentade3b4881488aeab385f106064cb78ada8969a1d (diff)
downloadCaptivePortalLogin-1f975924286d879baafcea4bd7639da5cbe14169.tar.gz
Merge "Fix for the missing focus in WebView form fields."
-rw-r--r--src/com/android/captiveportallogin/CaptivePortalLoginActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java b/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
index fc01a40..5b3b984 100644
--- a/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
+++ b/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
@@ -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();