diff options
author | Jinsuk Kim <jinsukkim@google.com> | 2014-06-24 07:57:00 +0900 |
---|---|---|
committer | Jinsuk Kim <jinsukkim@google.com> | 2014-06-27 07:06:33 +0900 |
commit | 8333571bd5e0a08773a1679964f8d96227af3356 (patch) | |
tree | db3a6ba857176692272fcad34423f0ef11efbbb8 /core/java/android/hardware | |
parent | 309a75dbc3a96471f66967379b0e6b043244ae42 (diff) | |
download | frameworks_base-8333571bd5e0a08773a1679964f8d96227af3356.zip frameworks_base-8333571bd5e0a08773a1679964f8d96227af3356.tar.gz frameworks_base-8333571bd5e0a08773a1679964f8d96227af3356.tar.bz2 |
Handle incoming active source-related commands for HdmiControlService
Handles incoming commands <Active Source>, <Inactive Source>, <Request
Active Source> that concern the active source update/report.
Defined mPrevPortId which is used to allow switching back to the input
set previously by <Active Source> or deviceSelect() when receiving
<Inactive Source>.
Also fixed a bug sending <Active Source> with wrong parameters.
Change-Id: I47fd804755c5c6beca38ddb21bb388a455d74f63
Diffstat (limited to 'core/java/android/hardware')
-rw-r--r-- | core/java/android/hardware/hdmi/HdmiCec.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/hardware/hdmi/HdmiCec.java b/core/java/android/hardware/hdmi/HdmiCec.java index d86dd5e..c87b674 100644 --- a/core/java/android/hardware/hdmi/HdmiCec.java +++ b/core/java/android/hardware/hdmi/HdmiCec.java @@ -101,6 +101,9 @@ public final class HdmiCec { /** Logical address used to indicate it is not initialized or invalid. */ public static final int ADDR_INVALID = -1; + /** Logical address used to indicate the source comes from internal device. */ + public static final int ADDR_INTERNAL = 0xFFFF; + // TODO: Complete the list of CEC messages definition. public static final int MESSAGE_FEATURE_ABORT = 0x00; public static final int MESSAGE_IMAGE_VIEW_ON = 0x04; |