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

Commit 051673d3 authored by Dominic Lemire's avatar Dominic Lemire Committed by Cherrypicker Worker
Browse files

HDMICEC: handle hdmi_control help command

The onHelp function is supposed to be invoked (by handleDefaultCommands)
for the "help" command (in addition to the null command).

Bug: 338392163
Test: adb shell cmd hdmi_control help
(cherry picked from https://android-review.googlesource.com/q/commit:a233e5531653cc5a4e6dbb563d2daefcd1988a14)
Merged-In: I1a6743ba793493322e9ccafff2861d4418ba4d7c
Change-Id: I1a6743ba793493322e9ccafff2861d4418ba4d7c
parent 1351b582
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -124,8 +124,7 @@ final class HdmiControlShellCommand extends ShellCommand {
                return historySize(pw);
        }

        getErrPrintWriter().println("Unhandled command: " + cmd);
        return 1;
        return handleDefaultCommands(cmd);
    }

    private int deviceSelect(PrintWriter pw) throws RemoteException {