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

Commit 4f9c5794 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "libbinder: stopProcess: directly stop process"" into main

parents 08194acf dab29654
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -853,8 +853,12 @@ status_t IPCThreadState::handlePolledCommands()

void IPCThreadState::stopProcess(bool /*immediate*/)
{
    ALOGI("IPCThreadState::stopProcess() (deprecated) called. Exiting process.");
    exit(0);
    //ALOGI("**** STOPPING PROCESS");
    (void)flushCommands();
    int fd = mProcess->mDriverFD;
    mProcess->mDriverFD = -1;
    close(fd);
    //kill(getpid(), SIGKILL);
}

status_t IPCThreadState::transact(int32_t handle,