Merge "Bluetooth AIDL: Set max thread count to 0"

This commit is contained in:
Myles Watson
2023-04-19 02:25:58 +00:00
committed by Gerrit Code Review

View File

@@ -30,7 +30,7 @@ using ::android::hardware::joinRpcThreadpool;
int main(int /* argc */, char** /* argv */) {
ALOGI("Bluetooth HAL starting");
if (!ABinderProcess_setThreadPoolMaxThreadCount(1)) {
if (!ABinderProcess_setThreadPoolMaxThreadCount(0)) {
ALOGI("failed to set thread pool max thread count");
return 1;
}