Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b8056c0 authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

Merge "Fix problem where enter and space key do nothing on ListView."

parents 085caa2b 26268f93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2181,7 +2181,7 @@ public class ListView extends AbsListView {
        boolean handled = false;
        int action = event.getAction();
        if (KeyEvent.isConfirmKey(keyCode)
                && event.hasNoModifiers() && action == KeyEvent.ACTION_UP) {
                && event.hasNoModifiers() && action != KeyEvent.ACTION_UP) {
            handled = resurrectSelectionIfNeeded();
            if (!handled && event.getRepeatCount() == 0 && getChildCount() > 0) {
                keyPressed();