diff options
author | 2020-03-06 01:58:24 +0000 | |
---|---|---|
committer | 2020-03-06 01:58:24 +0000 | |
commit | b906358965decbce80834f42ca58f6f1db263664 (patch) | |
tree | 5afd9ada174a7a0fefa00fe9c8d5302296843b97 /libs/binder/ProcessState.cpp | |
parent | a7c45af59f08a06dd564ecbd760cf358ccb14185 (diff) | |
parent | a680c126ebbe39428081f0f1ce8f178943436086 (diff) |
Merge "Revert "Disallow shrinking threadpool size once started."" am: e15c527c67 am: a680c126eb
Change-Id: Ida8dc4541341ad7f464510db951e77d6472d9d80
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 f3861bb2b5..4b773e816f 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; |