diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index 5951a3ff474..8960ff9ab11 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -362,6 +362,10 @@ status_t IPCThreadState::clearLastError() return err; } +extern "C" int _ZN7android14IPCThreadState13getCallingPidEv(IPCThreadState *state) { + return state->getCallingPid(); +} + int IPCThreadState::getCallingPid() const { return mCallingPid;