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

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

libbinder: clarify RPC binder over kernel message

Socket (RPC) binders can be sent over sockets. This error message was
incorrect.

Bug: N/A
Test: N/A
Change-Id: I633b634ff5da4c10ffb554f2c290d481ac84f297
parent abecf2e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -233,7 +233,7 @@ status_t Parcel::flattenBinder(const sp<IBinder>& binder) {
                ALOGE("null proxy");
                ALOGE("null proxy");
            } else {
            } else {
                if (proxy->isRpcBinder()) {
                if (proxy->isRpcBinder()) {
                    ALOGE("Sending a socket binder over RPC is prohibited");
                    ALOGE("Sending a socket binder over kernel binder is prohibited");
                    return INVALID_OPERATION;
                    return INVALID_OPERATION;
                }
                }
            }
            }