mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user