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

Commit f6d8e0ca authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 50bd9d61: am 4426961e: Merge "Avoiding horizontal keypad navigation trapping within gallery."

* commit '50bd9d61':
  Avoiding horizontal keypad navigation trapping within gallery.
parents 2d28f535 50bd9d61
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1189,15 +1189,15 @@ public class Gallery extends AbsSpinner implements GestureDetector.OnGestureList
        case KeyEvent.KEYCODE_DPAD_LEFT:
            if (movePrevious()) {
                playSoundEffect(SoundEffectConstants.NAVIGATION_LEFT);
            }
                return true;

            }
            break;
        case KeyEvent.KEYCODE_DPAD_RIGHT:
            if (moveNext()) {
                playSoundEffect(SoundEffectConstants.NAVIGATION_RIGHT);
            }
                return true;

            }
            break;
        case KeyEvent.KEYCODE_DPAD_CENTER:
        case KeyEvent.KEYCODE_ENTER:
            mReceivedInvokeKeyDown = true;