summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJinsuk Kim <jinsukkim@google.com>2014-05-28 17:42:56 +0900
committerJungshik Jang <jayjang@google.com>2014-06-02 10:58:02 +0900
commita8fd44b74b8822426cdc0e45351899c95bf30e16 (patch)
tree326e45fe2912ea7ba33315f05a486041a756f01a /services
parent304b4a7281ffe4153d21eb50ebed070f1cf685bc (diff)
downloadframeworks_base-a8fd44b74b8822426cdc0e45351899c95bf30e16.zip
frameworks_base-a8fd44b74b8822426cdc0e45351899c95bf30e16.tar.gz
frameworks_base-a8fd44b74b8822426cdc0e45351899c95bf30e16.tar.bz2
DO NOT MERGE: Fix a couple of bugs in CEC services
- Correct conversion for byte to int for cec opcode - Use the right Handler.obtainMessage() to pass an integer variable Change-Id: Ie3e86225f1702decce454aeb197911a371f51c17
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/hdmi/FeatureAction.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/hdmi/FeatureAction.java b/services/core/java/com/android/server/hdmi/FeatureAction.java
index f8e9b7b..0ba7773 100644
--- a/services/core/java/com/android/server/hdmi/FeatureAction.java
+++ b/services/core/java/com/android/server/hdmi/FeatureAction.java
@@ -133,7 +133,8 @@ abstract class FeatureAction {
@Override
public void sendTimerMessage(int state, long delayMillis) {
- sendMessageDelayed(obtainMessage(MSG_TIMEOUT, state), delayMillis);
+ // The third argument(0) is not used.
+ sendMessageDelayed(obtainMessage(MSG_TIMEOUT, state, 0), delayMillis);
}
@Override