diff options
author | 2020-03-06 01:35:33 +0000 | |
---|---|---|
committer | 2020-03-06 01:35:33 +0000 | |
commit | a680c126ebbe39428081f0f1ce8f178943436086 (patch) | |
tree | e1f99e779bf4e6ff651ed134773f845cfaf73d87 /libs/binder/ProcessState.cpp | |
parent | 099720d7631a3dbba8f3a62aa77afdf39fe27402 (diff) | |
parent | e15c527c673ae30dce16ca311178f56baae4c21b (diff) |
Merge "Revert "Disallow shrinking threadpool size once started."" am: e15c527c67
Change-Id: I322b4b13bb28a875587af6793cd9fc5e8fe04411
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r-- | libs/binder/ProcessState.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index 0f81e0bef0..631e8c5cb2 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -328,8 +328,6 @@ void ProcessState::spawnPooledThread(bool isMain) } status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { - LOG_ALWAYS_FATAL_IF(mThreadPoolStarted && maxThreads < mMaxThreads, - "Binder threadpool cannot be shrunk after starting"); status_t result = NO_ERROR; if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { mMaxThreads = maxThreads; |