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

Commit 73bc7dbe authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by android-build-merger
Browse files

docs: Clarified definition of KeyEvent.Callback.onKeyMultiple() am: b248b1f6 am: fcd4541b

am: 8aff16ac

Change-Id: I81108107b9d9f0cb3e1a58201ebb094552d5e2fd
parents d050904e 8aff16ac
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1289,8 +1289,9 @@ public class KeyEvent extends InputEvent implements Parcelable {
        boolean onKeyUp(int keyCode, KeyEvent event);

        /**
         * Called when multiple down/up pairs of the same key have occurred
         * in a row.
         * Called when a user's interaction with an analog control, such as
         * flinging a trackball, generates simulated down/up events for the same
         * key multiple times in quick succession.
         *
         * @param keyCode The value in event.getKeyCode().
         * @param count Number of pairs as returned by event.getRepeatCount().