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

Commit 6c4020d1 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

Change-Id: I4730416f799b0947690d4a4544be41bfed191afb
parents c8e1b1da 33f36706
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);
}