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

Commit d0d05351 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

libbinder: setupPolling returns status_t am: d8c85672 am: 587420d8

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1372253

Change-Id: I02eb8ec5c73b65deac0d739d2637a73bccf6d939
parents 68492890 587420d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -614,7 +614,7 @@ void IPCThreadState::joinThreadPool(bool isMain)
    talkWithDriver(false);
    talkWithDriver(false);
}
}


int IPCThreadState::setupPolling(int* fd)
status_t IPCThreadState::setupPolling(int* fd)
{
{
    if (mProcess->mDriverFD < 0) {
    if (mProcess->mDriverFD < 0) {
        return -EBADF;
        return -EBADF;
+2 −2
Original line number Original line Diff line number Diff line
@@ -86,7 +86,7 @@ public:
            // Restores PID/UID (not SID)
            // Restores PID/UID (not SID)
            void                restoreCallingIdentity(int64_t token);
            void                restoreCallingIdentity(int64_t token);


            int                 setupPolling(int* fd);
            status_t            setupPolling(int* fd);
            status_t            handlePolledCommands();
            status_t            handlePolledCommands();
            void                flushCommands();
            void                flushCommands();