diff options
author | 2010-10-12 09:05:40 -0400 | |
---|---|---|
committer | 2010-10-12 09:52:56 -0400 | |
commit | 23cb86a47d566db413d9c7679984ef3cfdfee848 (patch) | |
tree | 97f492692eb36b9a23b1474777d2096abf1ad7fd | |
parent | 692cac9fdd7b179ba807351772fdf2339c000dfe (diff) |
Allow TextView to do its thing.
Bug:3085639
Call super.onTouchEvent for ACTION_UP and ACTION_CANCEL.
This removes the old selection as appropriate.
Bug:3085587
Make the cursor visible so that the insertion handle
appears when tapping on the field.
Change-Id: If5ea6219de9ca351667021743b2e63edc6c47250
-rw-r--r-- | core/java/android/webkit/WebTextView.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/webkit/WebTextView.java b/core/java/android/webkit/WebTextView.java index 19abec1a5907..e82ed9fa34a4 100644 --- a/core/java/android/webkit/WebTextView.java +++ b/core/java/android/webkit/WebTextView.java @@ -519,6 +519,7 @@ import java.util.ArrayList; return false; case MotionEvent.ACTION_UP: case MotionEvent.ACTION_CANCEL: + super.onTouchEvent(event); if (mHasPerformedLongClick) { mGotTouchDown = false; return false; @@ -684,9 +685,6 @@ import java.util.ArrayList; // webkit's drawing. setWillNotDraw(!inPassword); setBackgroundDrawable(inPassword ? mBackground : null); - // For non-password fields, avoid the invals from TextView's blinking - // cursor - setCursorVisible(inPassword); } /** |