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

Commit 3f1d554b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "audio: Ignore SIGPIPE in the default audio HAL wrapper" am: 6d6ddd73

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1740273

Change-Id: Iccc84cd5bdfdafca7ed405e015076886f7b0d0d5
parents 991a680d 6d6ddd73
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#define LOG_TAG "audiohalservice"

#include <signal.h>
#include <string>
#include <vector>

@@ -45,6 +46,8 @@ static bool registerPassthroughServiceImplementations(Iter first, Iter last) {
}

int main(int /* argc */, char* /* argv */ []) {
    signal(SIGPIPE, SIG_IGN);

    ::android::ProcessState::initWithDriver("/dev/vndbinder");
    // start a threadpool for vndbinder interactions
    ::android::ProcessState::self()->startThreadPool();