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

Commit 482c51a8 authored by Harry Cutts's avatar Harry Cutts
Browse files

InputManager: fix grammar in verifyInputEvent JavaDoc

It seems that adding @NonNull to a parameter causes "This value cannot
be null" to be appended to its JavaDoc on developer.android.com. Because
the @param tag for the event parameter didn't end with a full stop, this
caused the JavaDoc to read "The InputEvent to check This value cannot
be null".

The @return tag was also missing a full stop.

Bug: 245989146
Change-Id: I015cf07cb94640b585242a485d4d4c44fc739255
Test: none
Flag: DOCS_ONLY
parent 3332d8ba
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -963,11 +963,10 @@ public final class InputManager {
     * originate from the system, just that we were unable to verify it. This can
     * happen for a number of reasons during normal operation.
     *
     * @param event The {@link android.view.InputEvent} to check
     * @param event The {@link android.view.InputEvent} to check.
     *
     * @return {@link android.view.VerifiedInputEvent}, which is a subset of the provided
     * {@link android.view.InputEvent}
     *         {@code null} if the event could not be verified.
     *     {@link android.view.InputEvent}, or {@code null} if the event could not be verified.
     */
    @Nullable
    public VerifiedInputEvent verifyInputEvent(@NonNull InputEvent event) {