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

Commit 8db85ab7 authored by Jungshik Jang's avatar Jungshik Jang Committed by Android (Google) Code Review
Browse files

Merge "Rename HdmiCecKeycodeTranslater to HdmiCecKeycode."

parents b86f752a cd3445cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ import android.view.KeyEvent;
/**
 * Helper class to translate android keycode to hdmi cec keycode and vice versa.
 */
public class HdmiCecKeycodeTranslator {
public class HdmiCecKeycode {
    public static final int UNSUPPORTED_KEYCODE = -1;
    public static final int NO_PARAM = -1;

@@ -151,7 +151,7 @@ public class HdmiCecKeycodeTranslator {
    public static final int UI_SOUND_PRESENTATION_TREBLE_NEUTRAL = 0xC2;
    public static final int UI_SOUND_PRESENTATION_TREBLE_STEP_MINUS = 0xC3;

    private HdmiCecKeycodeTranslator() {
    private HdmiCecKeycode() {
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -144,6 +144,6 @@ final class SendKeyAction extends FeatureAction {
    // KeyEvent.KEYCODE_TV_BROADCAST_CABLE.
    // The return byte array contains both UI command (keycode) and optional parameter.
    private byte[] getCecKeyCodeAndParam(int keyCode) {
        return HdmiCecKeycodeTranslator.androidKeyToCecKey(keyCode);
        return HdmiCecKeycode.androidKeyToCecKey(keyCode);
    }
}