From e762be91c3280d837b1d48455cba90459ced7511 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 9 May 2013 16:26:45 -0700 Subject: make libaudioflinger symbols visibility hidden we export only symbols needed by clients of this library. this saves about 130KB (1/3rd of the lib size) Change-Id: Id81f3ecb299ee3abc0811915cf6efe87180bf15c --- services/audioflinger/AudioFlinger.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'services/audioflinger/AudioFlinger.h') diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index b0efef6..cf68848 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -24,6 +24,8 @@ #include +#include + #include #include #include @@ -89,7 +91,7 @@ class AudioFlinger : { friend class BinderService; // for AudioFlinger() public: - static const char* getServiceName() { return "media.audio_flinger"; } + static const char* getServiceName() ANDROID_API { return "media.audio_flinger"; } virtual status_t dump(int fd, const Vector& args); @@ -278,7 +280,7 @@ private: bool btNrecIsOff() const { return mBtNrecIsOff; } - AudioFlinger(); + AudioFlinger() ANDROID_API; virtual ~AudioFlinger(); // call in any IAudioFlinger method that accesses mPrimaryHardwareDev -- cgit v1.1