diff options
author | Sven Gothel <[email protected]> | 2020-06-09 18:38:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-09 18:38:37 +0200 |
commit | 2048b75e91eaa037821c1340dd3b604d1af6b35a (patch) | |
tree | 1a53f0c6f8a0ff3f512dcd10d7437269b4f77b7e | |
parent | 6caf7695b85aca8d3962e1ffcfd350fc97e698dd (diff) |
DBTAdapter.java: startDiscovery() -> keepAlive=true default
-rw-r--r-- | java/direct_bt/tinyb/DBTAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/direct_bt/tinyb/DBTAdapter.java b/java/direct_bt/tinyb/DBTAdapter.java index 100334e7..386dc0e2 100644 --- a/java/direct_bt/tinyb/DBTAdapter.java +++ b/java/direct_bt/tinyb/DBTAdapter.java @@ -282,8 +282,8 @@ public class DBTAdapter extends DBTObject implements BluetoothAdapter /* discovery */ @Override - public synchronized boolean startDiscovery() throws BluetoothException { - return startDiscovery(false); + public boolean startDiscovery() throws BluetoothException { + return startDiscovery(true); } @Override |