diff options
Diffstat (limited to 'java/direct_bt/tinyb/DBTManager.java')
-rw-r--r-- | java/direct_bt/tinyb/DBTManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/direct_bt/tinyb/DBTManager.java b/java/direct_bt/tinyb/DBTManager.java index 5fdbfdb9..8874a2b3 100644 --- a/java/direct_bt/tinyb/DBTManager.java +++ b/java/direct_bt/tinyb/DBTManager.java @@ -269,11 +269,11 @@ public class DBTManager implements BluetoothManager private native List<BluetoothAdapter> getAdapterListImpl(); - private native void initImpl(final boolean unifyUUID128Bit) throws BluetoothException; + private native void initImpl(final boolean unifyUUID128Bit, final int btMode) throws BluetoothException; private native void deleteImpl(long nativeInstance); private DBTManager() { - initImpl(unifyUUID128Bit); + initImpl(unifyUUID128Bit, BluetoothFactory.DEFAULT_BTMODE.value); try { adapters.addAll(getAdapterListImpl()); } catch (final BluetoothException be) { |