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

Commit ccd2c615 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clarify usage of KeyEvent.keyCodeToString"

parents 2b3bcce1 6ace3f22
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2920,6 +2920,9 @@ public class KeyEvent extends InputEvent implements Parcelable {
     * such as "KEYCODE_A", "KEYCODE_DPAD_UP", or an equivalent numeric constant
     * such as "1001" if unknown.
     *
     * This function is intended to be used mostly for debugging, logging, and testing. It is not
     * locale-specific and is not intended to be used in a user-facing manner.
     *
     * @param keyCode The key code.
     * @return The symbolic name of the specified keycode.
     *