summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-06-23 22:33:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-06-23 22:33:16 +0000
commitc34dec82a9409b39ba7fd6d28dbceff217cf79df (patch)
tree146c8bdccaae64d4305425f9420636b110977fcb
parent9b734011910cdddb6455bd35bab1f099ecfab417 (diff)
parent97640400c4aa6bf05d5606ea749b54ad63de97cd (diff)
downloadbase-c34dec82a9409b39ba7fd6d28dbceff217cf79df.tar.gz
Merge "Fix for the missing focus in WebView form fields." into oc-dev
-rw-r--r--packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java b/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
index 582b660a6e99..849f6a9457e4 100644
--- a/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
+++ b/packages/CaptivePortalLogin/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
@@ -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();