diff options
Diffstat (limited to 'java/direct_bt/tinyb/DBTDevice.java')
-rw-r--r-- | java/direct_bt/tinyb/DBTDevice.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/direct_bt/tinyb/DBTDevice.java b/java/direct_bt/tinyb/DBTDevice.java index 2895f123..c35fae23 100644 --- a/java/direct_bt/tinyb/DBTDevice.java +++ b/java/direct_bt/tinyb/DBTDevice.java @@ -335,10 +335,10 @@ public class DBTDevice extends DBTObject implements BluetoothDevice } @Override - public final boolean setConnSecurityLevel(final BTSecurityLevel sec_level, final boolean blocking) { - return setConnSecurityLevelImpl(sec_level.value, blocking); + public final boolean setConnSecurityLevel(final BTSecurityLevel sec_level) { + return setConnSecurityLevelImpl(sec_level.value); } - private final native boolean setConnSecurityLevelImpl(final byte sec_level, final boolean blocking); + private final native boolean setConnSecurityLevelImpl(final byte sec_level); @Override public final BTSecurityLevel getConnSecurityLevel() { |