Merge "Bluetooth: Add a second thread for the scheduler"
This commit is contained in:
commit
2709c56ad5
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue