Permalink
Browse files

samsung: add support for tvout and yamahaplayer services

Change-Id: I653f9876b7fb83734abf3a0b9b9b5af1920b8112
  • Loading branch information...
1 parent 0ee71b6 commit 7191abc01af5e06811c7c94604384603dd9579a3 @codeworkx codeworkx committed with xoomdev Dec 30, 2011
Showing with 12 additions and 0 deletions.
  1. +6 −0 cmds/servicemanager/Android.mk
  2. +6 −0 cmds/servicemanager/service_manager.c
View
6 cmds/servicemanager/Android.mk
@@ -9,4 +9,10 @@ include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_SRC_FILES := service_manager.c binder.c
LOCAL_MODULE := servicemanager
+ifeq ($(BOARD_USE_YAMAHAPLAYER),true)
+ LOCAL_CFLAGS += -DYAMAHAPLAYER
+endif
+ifeq ($(BOARD_USE_SECTVOUT),true)
+ LOCAL_CFLAGS += -DSECTVOUT
+endif
include $(BUILD_EXECUTABLE)
View
6 cmds/servicemanager/service_manager.c
@@ -32,6 +32,12 @@ static struct {
{ AID_MEDIA, "media.camera" },
{ AID_MEDIA, "media.audio_policy" },
{ AID_MEDIA, "media.nvidia.audio_alsa" },
+#ifdef YAMAHAPLAYER
+ { AID_MEDIA, "media.yamahaplayer" },
+#endif
+#ifdef SECTVOUT
+ { AID_MEDIA, "SecTVOutService" },
+#endif
{ AID_DRM, "drm.drmManager" },
{ AID_NFC, "nfc" },
{ AID_BLUETOOTH, "bluetooth" },

0 comments on commit 7191abc

Please sign in to comment.