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

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

Change-Id: I9c15b271447c094cd9a0250f686ff71c76061852
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:48:48 +00:00 committed by Automerger Merge Worker
commit ba44266f13

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