summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJungshik Jang <jayjang@google.com>2014-06-02 04:35:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-02 04:35:58 +0000
commit9bb6fbb743a29341f6da4b573812798c7efedf35 (patch)
treeee70f844edf3fc54b3b4a4146de1ad5a33976dd3 /core
parent1dcef4f9cda5d8bc4cdbf5f27fda02ce03871d79 (diff)
parenta8fd44b74b8822426cdc0e45351899c95bf30e16 (diff)
downloadframeworks_base-9bb6fbb743a29341f6da4b573812798c7efedf35.zip
frameworks_base-9bb6fbb743a29341f6da4b573812798c7efedf35.tar.gz
frameworks_base-9bb6fbb743a29341f6da4b573812798c7efedf35.tar.bz2
Merge "DO NOT MERGE: Fix a couple of bugs in CEC services" into lmp-preview-dev
Diffstat (limited to 'core')
-rw-r--r--core/java/android/hardware/hdmi/HdmiCecMessage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/hardware/hdmi/HdmiCecMessage.java b/core/java/android/hardware/hdmi/HdmiCecMessage.java
index a8aa376..62fa279 100644
--- a/core/java/android/hardware/hdmi/HdmiCecMessage.java
+++ b/core/java/android/hardware/hdmi/HdmiCecMessage.java
@@ -46,7 +46,7 @@ public final class HdmiCecMessage implements Parcelable {
public HdmiCecMessage(int source, int destination, int opcode, byte[] params) {
mSource = source;
mDestination = destination;
- mOpcode = opcode;
+ mOpcode = opcode & 0xFF;
mParams = Arrays.copyOf(params, params.length);
}