OSDN Git Service

NULL inputType text fields should never show the IME.
authorGilles Debunne <debunne@google.com>
Mon, 24 Jan 2011 20:33:56 +0000 (12:33 -0800)
committerGilles Debunne <debunne@google.com>
Mon, 24 Jan 2011 20:33:56 +0000 (12:33 -0800)
commit8cbb4c6e30cff706a243599634aeb8fd9a818d92
treeb27e4803f0ea2afbce13f7b2088a7868f14c6465
parentb35672e4ef5dfe9719c2ba4b088eceabab0fade8
NULL inputType text fields should never show the IME.

Bug 3381317

Changes made in https://android-git.corp.google.com/g/#change,91880
displayed the IME onFocus. However, the test was not consistent to what
is done in touch event. textIsEditable is now checked too.

Change-Id: If11382c1c90a557839b87d62494253470c42b621
core/java/android/inputmethodservice/InputMethodService.java
core/java/android/view/inputmethod/InputMethodManager.java
core/java/android/widget/TextView.java