Skip to content

Commit

Permalink
samsung: add support for tvout and yamahaplayer services
Browse files Browse the repository at this point in the history
Change-Id: I653f9876b7fb83734abf3a0b9b9b5af1920b8112
  • Loading branch information
codeworkx authored and xoomdev committed Nov 25, 2012
1 parent 0ee71b6 commit 7191abc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmds/servicemanager/Android.mk
Expand Up @@ -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)
6 changes: 6 additions & 0 deletions cmds/servicemanager/service_manager.c
Expand Up @@ -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" },
Expand Down

0 comments on commit 7191abc

Please sign in to comment.