diff options
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r-- | libs/binder/IPCThreadState.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index 5c34069b23..79a11d22bd 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -611,6 +611,12 @@ void IPCThreadState::processPostWriteDerefs() mPostWriteStrongDerefs.clear(); } +void IPCThreadState::createTransactionReference(RefBase* ref) +{ + ref->incStrong(mProcess.get()); + mPostWriteStrongDerefs.push(ref); +} + void IPCThreadState::joinThreadPool(bool isMain) { LOG_THREADPOOL("**** THREAD %p (PID %d) IS JOINING THE THREAD POOL\n", (void*)pthread_self(), getpid()); |