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

Commit ea142b10 authored by Philip Junker's avatar Philip Junker
Browse files

Simplify javadocs of KeyCharacterMap#hasKeys() and InputManager#hasKeys()

Test: only javadocs changed
Bug: -
Change-Id: I47f244790e490b049a9286586c237a3af09f804e
parent ae23cf10
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -1016,9 +1016,8 @@ public final class InputManager {
    }

    /**
     * Queries the framework about whether any physical keys exist on the
     * any keyboard attached to the device that are capable of producing the given
     * array of key codes.
     * Queries the framework about whether any physical keys exist on any currently attached input
     * devices that are capable of producing the given array of key codes.
     *
     * @param keyCodes The array of key codes to query.
     * @return A new array of the same size as the key codes array whose elements
@@ -1032,11 +1031,10 @@ public final class InputManager {
    }

    /**
     * Queries the framework about whether any physical keys exist on the
     * any keyboard attached to the device that are capable of producing the given
     * array of key codes.
     * Queries the framework about whether any physical keys exist on the specified input device
     * that are capable of producing the given array of key codes.
     *
     * @param id The id of the device to query.
     * @param id The id of the input device to query or -1 to consult all devices.
     * @param keyCodes The array of key codes to query.
     * @return A new array of the same size as the key codes array whose elements are set to true
     * if the given device could produce the corresponding key code at the same index in the key
+4 −5
Original line number Diff line number Diff line
@@ -709,8 +709,8 @@ public class KeyCharacterMap implements Parcelable {
    }

    /**
     * Queries the framework about whether any physical keys exist on the
     * any keyboard attached to the device that are capable of producing the given key code.
     * Queries the framework about whether any physical keys exist on any currently attached input
     * devices that are capable of producing the given key code.
     *
     * @param keyCode The key code to query.
     * @return True if at least one attached keyboard supports the specified key code.
@@ -720,9 +720,8 @@ public class KeyCharacterMap implements Parcelable {
    }

    /**
     * Queries the framework about whether any physical keys exist on the
     * any keyboard attached to the device that are capable of producing the given
     * array of key codes.
     * Queries the framework about whether any physical keys exist on any currently attached input
     * devices that are capable of producing the given array of key codes.
     *
     * @param keyCodes The array of key codes to query.
     * @return A new array of the same size as the key codes array whose elements