Skip to content

Commit aa4a571

Browse files
Gilles DebunneAndroid (Google) Code Review
authored andcommitted
Merge "Make the Next key navigate between TextViews" into ics-mr1
2 parents 0e7b802 + 06a8e9b commit aa4a571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/widget/TextView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5514,7 +5514,7 @@ public boolean onKeyUp(int keyCode, KeyEvent event) {
55145514
* call performClick(), but that won't do anything in
55155515
* this case.)
55165516
*/
5517-
if (hasOnClickListeners()) {
5517+
if (!hasOnClickListeners()) {
55185518
if (mMovement != null && mText instanceof Editable
55195519
&& mLayout != null && onCheckIsTextEditor()) {
55205520
InputMethodManager imm = InputMethodManager.peekInstance();
@@ -5551,7 +5551,7 @@ public boolean onKeyUp(int keyCode, KeyEvent event) {
55515551
* call performClick(), but that won't do anything in
55525552
* this case.)
55535553
*/
5554-
if (hasOnClickListeners()) {
5554+
if (!hasOnClickListeners()) {
55555555
View v = focusSearch(FOCUS_DOWN);
55565556

55575557
if (v != null) {

0 commit comments

Comments
 (0)