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

am: 2709c56ad5

Change-Id: I0375940ba054d6b12d00957e96e0de860625c273
This commit is contained in:
Myles Watson
2017-05-12 18:08:28 +00:00
committed by android-build-merger

View File

@@ -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);
}