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

Commit f99e5df8 authored by Michael Wright's avatar Michael Wright Committed by android-build-merger
Browse files

Merge "DO NOT MERGE Fix conditional when checking for confirm key." into nyc-dev

am: f1f8bfb7

* commit 'f1f8bfb7':
  DO NOT MERGE Fix conditional when checking for confirm key.
parents 2c0af783 f1f8bfb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1644,7 +1644,7 @@ public class GridView 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();