diff options
author | Gilles Debunne <debunne@google.com> | 2011-12-08 10:39:39 -0800 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-12-08 10:39:39 -0800 |
commit | 06a8e9b1ce63f1e0842c877133b2562a6b638123 (patch) | |
tree | 79bbe9a37da01500e84c8bc1d45213b431653832 /core | |
parent | 641a5624075ee942b85b17646b57f65377567a06 (diff) | |
download | frameworks_base-06a8e9b1ce63f1e0842c877133b2562a6b638123.zip frameworks_base-06a8e9b1ce63f1e0842c877133b2562a6b638123.tar.gz frameworks_base-06a8e9b1ce63f1e0842c877133b2562a6b638123.tar.bz2 |
Make the Next key navigate between TextViews
Bug 5718127
Fixes from changes introduced in
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=commit;h=0500b3cfda5192efc09d6d4344b0c6c785c0a815
Change-Id: I4f6d213cd744b913b053275c4a26194cd030de84
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/widget/TextView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 4a3a748..c330926 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -5514,7 +5514,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * call performClick(), but that won't do anything in * this case.) */ - if (hasOnClickListeners()) { + if (!hasOnClickListeners()) { if (mMovement != null && mText instanceof Editable && mLayout != null && onCheckIsTextEditor()) { InputMethodManager imm = InputMethodManager.peekInstance(); @@ -5551,7 +5551,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * call performClick(), but that won't do anything in * this case.) */ - if (hasOnClickListeners()) { + if (!hasOnClickListeners()) { View v = focusSearch(FOCUS_DOWN); if (v != null) { |