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

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

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

am: 2709c56a

Change-Id: I0375940ba054d6b12d00957e96e0de860625c273
parents 4b184824 2709c56a
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);
}