summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Context.java
diff options
context:
space:
mode:
authorJinsuk Kim <jinsukkim@google.com>2014-03-21 16:25:13 +0900
committerJinsuk Kim <jinsukkim@google.com>2014-03-24 08:19:39 +0900
commitfbcd503645d9527fd7c700b3e4e8f170c46a7eba (patch)
treea29ad0d386c9c703d1fbdba8d778defe9767f770 /core/java/android/content/Context.java
parentd73e66cce12f13faec44b12d9e6f33c2f28a2d5a (diff)
downloadframeworks_base-fbcd503645d9527fd7c700b3e4e8f170c46a7eba.zip
frameworks_base-fbcd503645d9527fd7c700b3e4e8f170c46a7eba.tar.gz
frameworks_base-fbcd503645d9527fd7c700b3e4e8f170c46a7eba.tar.bz2
Add HdmiCecManager
Introduces HdmiCecManager/HdmiCecClient to provide apps/system components with the way to access HdmiCecService via Context.getSystemService(HDMI_CEC_SERVICE). Change-Id: I39da071a328074a4b7b049947943688bd7779c26
Diffstat (limited to 'core/java/android/content/Context.java')
-rw-r--r--core/java/android/content/Context.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 2e4e209..f4b1afe 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -1974,6 +1974,8 @@ public abstract class Context {
* @see android.app.SearchManager
* @see #SENSOR_SERVICE
* @see android.hardware.SensorManager
+ * @see #HDMI_CEC_SERVICE
+ * @see android.hardware.hdmi.HdmiCecManager
* @see #STORAGE_SERVICE
* @see android.os.storage.StorageManager
* @see #VIBRATOR_SERVICE
@@ -2389,6 +2391,16 @@ public abstract class Context {
/**
* Use with {@link #getSystemService} to retrieve a
+ * {@link android.hardware.hdmi.HdmiCecManager for controlling and managing
+ * HDMI-CEC protocol.
+ *
+ * @see #getSystemService
+ * @see android.hardware.hdmi.HdmiCecManager
+ */
+ public static final String HDMI_CEC_SERVICE = "hdmi_cec";
+
+ /**
+ * Use with {@link #getSystemService} to retrieve a
* {@link android.hardware.input.InputManager} for interacting with input devices.
*
* @see #getSystemService