diff options
| author | 2011-06-17 14:29:17 -0700 | |
|---|---|---|
| committer | 2011-06-17 14:29:17 -0700 | |
| commit | 4f844e26366dac62c27fea0ccdd4db5b9c359e47 (patch) | |
| tree | 173a0d374dbd2f178519e34429beab5e2f9b1114 | |
| parent | b86b030acdaeb1d823ee3c67609516160975824e (diff) | |
| parent | 4503c8dd714e1e40306d9356bf27b1f4925ea5f0 (diff) | |
Merge "Inform the InputMethodManager that a focused view has been attached."
| -rw-r--r-- | core/java/android/view/View.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index b0e651a655da..f2400d8ca3c6 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -8736,6 +8736,10 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit } jumpDrawablesToCurrentState(); resolveLayoutDirection(); + if (isFocused()) { + InputMethodManager imm = InputMethodManager.peekInstance(); + imm.focusIn(this); + } } /** |