Commit bacc700b authored by chongz's avatar chongz Committed by Commit bot

[Android DomKey] Swap mapping for TVInputComposite and TVInputComponent

https://crrev.com/2501083002/ introduce these mappings but mis-placed values,
this CL swaps these values back.

BUG=670587

Review-Url: https://codereview.chromium.org/2622893005
Cr-Commit-Position: refs/heads/master@{#442929}
parent 954c9c1d
......@@ -334,13 +334,13 @@ DomKey GetDomKeyFromAndroidKeycode(int keycode) {
case AKEYCODE_TV_INPUT_HDMI_4:
return DomKey::TV_INPUT_HDMI4;
case AKEYCODE_TV_INPUT_COMPOSITE_1:
return DomKey::TV_INPUT_COMPONENT1;
return DomKey::TV_INPUT_COMPOSITE1;
case AKEYCODE_TV_INPUT_COMPOSITE_2:
return DomKey::TV_INPUT_COMPONENT2;
return DomKey::TV_INPUT_COMPOSITE2;
case AKEYCODE_TV_INPUT_COMPONENT_1:
return DomKey::TV_INPUT_COMPOSITE1;
return DomKey::TV_INPUT_COMPONENT1;
case AKEYCODE_TV_INPUT_COMPONENT_2:
return DomKey::TV_INPUT_COMPOSITE2;
return DomKey::TV_INPUT_COMPONENT2;
case AKEYCODE_TV_INPUT_VGA_1:
return DomKey::TV_INPUT_VGA1;
case AKEYCODE_TV_AUDIO_DESCRIPTION:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment