From 871c16cec850c042c61aa06a7ffc0e1965867bcf Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Fri, 5 Mar 2010 12:18:01 -0800 Subject: Initial version of LifeVibes integration. Also changed tabs to spaces in other audioflinger files. --- cmds/servicemanager/Android.mk | 5 +++++ cmds/servicemanager/service_manager.c | 3 +++ 2 files changed, 8 insertions(+) (limited to 'cmds') diff --git a/cmds/servicemanager/Android.mk b/cmds/servicemanager/Android.mk index 25266a2..392e727 100644 --- a/cmds/servicemanager/Android.mk +++ b/cmds/servicemanager/Android.mk @@ -10,5 +10,10 @@ include $(CLEAR_VARS) LOCAL_SHARED_LIBRARIES := liblog LOCAL_SRC_FILES := service_manager.c binder.c LOCAL_MODULE := servicemanager +ifeq ($(LVMX),true) + ifeq ($(TARGET_ARCH),arm) + LOCAL_CFLAGS += -DLVMX + endif +endif include $(BUILD_EXECUTABLE) endif diff --git a/cmds/servicemanager/service_manager.c b/cmds/servicemanager/service_manager.c index f3a4713..a2006c1 100644 --- a/cmds/servicemanager/service_manager.c +++ b/cmds/servicemanager/service_manager.c @@ -27,6 +27,9 @@ static struct { unsigned uid; const char *name; } allowed[] = { +#ifdef LVMX + { AID_MEDIA, "com.lifevibes.mx.ipc" }, +#endif { AID_MEDIA, "media.audio_flinger" }, { AID_MEDIA, "media.player" }, { AID_MEDIA, "media.camera" }, -- cgit v1.1