Merge "Bluetooth AIDL: Set max thread count to 0" am: bf6879eaa2 am: 817c6e4139

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2545971

Change-Id: I9b4c84de69ff09fb4a7ba531ff607c356c755348
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Myles Watson
2023-04-19 04:00:51 +00:00
committed by Automerger Merge Worker

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;
}