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

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

libbinder: setupPolling returns status_t

This is a clarification of the return, which takes the form of a
status_t.

Bug: N/A
Test: static_assert(sizeof(int) == sizeof(status_t))
Change-Id: I472ad66d4a42069046da91a64fc9d65688a147eb
parent 09f7bc11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -614,7 +614,7 @@ void IPCThreadState::joinThreadPool(bool isMain)
    talkWithDriver(false);
}

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

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