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

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

Change-Id: Icea40424a1da78e4ba20cbf30eb5387d08a50dd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Myles Watson
2023-04-19 03:14:39 +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;
}