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

Commit ebce2c38 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

Bluetooth: Add a second thread for the scheduler am: 33f36706

am: 6c4020d1

Change-Id: If5d7a2cbd6a32f6675c3b7c85abacc4170c2bf59
parents 38f4c6df 6c4020d1
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);
}