summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Leon Scroggins <scroggo@google.com> 2010-03-03 19:08:56 -0500
committer Leon Scroggins <scroggo@google.com> 2010-03-04 08:44:56 -0500
commit75a36c2bc70a5b1438b75c8ccb15a41d02d78c62 (patch)
tree282562e6d0925e6ed81a70b73845731347f602d8
parent48b5c5c93b1a125b2fbc769204d5aac5be7110d6 (diff)
Remove an overzealous call to setDefaultSelection.
This was added to try and fix an earlier bug, http://b/issue?id=2431351 However, it results in all touches setting to the default selection, which is incorrect. Fix for http://b/issue?id=2486721
-rw-r--r--core/java/android/webkit/WebView.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 0739735a5973..40177d8d85be 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -3410,7 +3410,6 @@ public class WebView extends AbsoluteLayout
if (isTextView) {
rebuildWebTextView();
if (inEditingMode()) {
- mWebTextView.setDefaultSelection();
imm.showSoftInput(mWebTextView, 0);
if (zoom) {
didUpdateTextViewBounds(true);