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

Commit 6cbdc339 authored by Michael Wright's avatar Michael Wright
Browse files

Fix conditional when checking for confirm key.

Bug: 26914975
Change-Id: I1641a44e860901d2aab83138e47af6dad3ad87b1
parent c9fd313f
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();