Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18bd4096 authored by Myles Watson's avatar Myles Watson
Browse files

Bluetooth AIDL: Set max thread count to 0

The default HAL only uses one thread, which is 0 more than
the default of 1.

Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: I8828cab2b4eb4d2a28ecc41cb75e3eb470cd0da6
parent 77ee5784
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }