Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a73f0b1d authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audioserver: enable HIDL callbacks"

parents b381ba16 e2afa1eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -14,7 +14,8 @@ LOCAL_SHARED_LIBRARIES := \
	libmedialogservice \
	libradioservice \
	libsoundtriggerservice \
	libutils
	libutils \
	libhwbinder

LOCAL_C_INCLUDES := \
	frameworks/av/services/audioflinger \
+8 −0
Original line number Diff line number Diff line
@@ -27,6 +27,10 @@
#include <binder/IServiceManager.h>
#include <utils/Log.h>

// FIXME: remove when BUG 31748996 is fixed
#include <hwbinder/IPCThreadState.h>
#include <hwbinder/ProcessState.h>

// from LOCAL_C_INCLUDES
#include "AudioFlinger.h"
#include "AudioPolicyService.h"
@@ -130,6 +134,10 @@ int main(int argc __unused, char **argv)
        RadioService::instantiate();
        SoundTriggerHwService::instantiate();
        ProcessState::self()->startThreadPool();

// FIXME: remove when BUG 31748996 is fixed
        android::hardware::ProcessState::self()->startThreadPool();

        IPCThreadState::self()->joinThreadPool();
    }
}