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

Commit f56e2909 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

am: 31f60409

Change-Id: I4fb1e8f7a8d011b4c1cb59245dce5c9d20a05b2d
parents d21a1053 31f60409
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);
}