summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorYuncheol Heo <ycheo@google.com>2014-07-10 20:49:27 +0900
committerYuncheol Heo <ycheo@google.com>2014-07-12 11:13:48 +0900
commita0c4a06ba336df1c1775d3918f20ba14b4607052 (patch)
tree1680154499176cf78d0769372607020252cc865e /services/java
parenta5d98da691c7e7e2de44ecc4f9edf6a664074532 (diff)
downloadframeworks_base-a0c4a06ba336df1c1775d3918f20ba14b4607052.zip
frameworks_base-a0c4a06ba336df1c1775d3918f20ba14b4607052.tar.gz
frameworks_base-a0c4a06ba336df1c1775d3918f20ba14b4607052.tar.bz2
Add the system feature for HDMI-CEC.
Change-Id: I2a985cedf49d50649c89f2ac5fbb80a81300156d
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/SystemServer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index e0ebd54..8d38827 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -910,7 +910,9 @@ public final class SystemServer {
mSystemServiceManager.startService(MediaSessionService.class);
- mSystemServiceManager.startService(HdmiControlService.class);
+ if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_HDMI_CEC)) {
+ mSystemServiceManager.startService(HdmiControlService.class);
+ }
mSystemServiceManager.startService(TvInputManagerService.class);