From 3c5e94335af44d862c6c936fb1f5f41141571038 Mon Sep 17 00:00:00 2001 From: Gilles Debunne Date: Wed, 3 Nov 2010 12:19:37 -0700 Subject: Tapping in a empty textEdit shows the handle. So that the user can paste in that field, by tapping on the handle. Change-Id: Ib43291fb78ded7c9b41c52cf3030fe0144d085c3 --- core/java/android/widget/TextView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 2fcae1c..81c2f65 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -6901,7 +6901,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener // Tapping outside stops selection mode, if any stopSelectionActionMode(); - if (mInsertionPointCursorController != null && mText.length() > 0) { + if (mInsertionPointCursorController != null) { mInsertionPointCursorController.show(); } } -- cgit v1.1