mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "audio: Ignore SIGPIPE in the default audio HAL wrapper"
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user