diff options
| author | 2011-04-04 14:25:45 -0700 | |
|---|---|---|
| committer | 2011-04-04 14:25:45 -0700 | |
| commit | fb2e9d23e03c93fd11d79545a07ae776721117f9 (patch) | |
| tree | cec48e8e0980de73cd5b2c288b9e5e00cf9cfb96 | |
| parent | f5d41653a7fbf57a278573c68f75dbaf801a13c5 (diff) | |
| parent | c5a43594babeabe965e6f386259431e9712951a0 (diff) | |
Merge "IME is no longer shown when an EditText gets focus."
| -rw-r--r-- | core/java/android/widget/TextView.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 9e482b46e3a7..86dfb9b950a2 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -7197,14 +7197,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener } super.onFocusChanged(focused, direction, previouslyFocusedRect); - - // Performed after super.onFocusChanged so that this TextView is registered and can ask for - // the IME. Showing the IME while focus is moved using the D-Pad is a bad idea, however this - // does not happen in that case (using the arrows on a bluetooth keyboard). - if (focused && isTextEditable()) { - final InputMethodManager imm = InputMethodManager.peekInstance(); - if (imm != null) imm.showSoftInput(this, 0); - } } private int getLastTapPosition() { |