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

Commit dab29654 authored by Steven Moreland's avatar Steven Moreland
Browse files

Revert "libbinder: stopProcess: directly stop process"

This reverts commit 21eb774d.

Reason for revert: b/390572524

Change-Id: I9efba529674e99f0058274aef0010295b5e9dc04
parent 21eb774d
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,