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

Commit 2709c56a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Bluetooth: Add a second thread for the scheduler"

parents 92c77bd6 74c60136
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -20,10 +20,13 @@

#include <hidl/LegacySupport.h>

// Add an extra thread for calls to the scheduler service.
static const size_t kMaxThreads = 2;

// Generated HIDL files
using android::hardware::bluetooth::V1_0::IBluetoothHci;
using android::hardware::defaultPassthroughServiceImplementation;

int main() {
  return defaultPassthroughServiceImplementation<IBluetoothHci>();
    return defaultPassthroughServiceImplementation<IBluetoothHci>(kMaxThreads);
}