diff options
author | Sven Gothel <[email protected]> | 2020-06-09 08:14:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-09 08:14:51 +0200 |
commit | 16170717a42d0897b0a8855356c7473df9922727 (patch) | |
tree | f69acd3ad158041c4231a643639b4dfa343d7167 /java/direct_bt | |
parent | 5b835bf15243b24d20125d1796349750665b1850 (diff) |
Expose 'org.tinyb.verbose' and 'org.tinyb.debug' via BluetoothFactory VERBOSE and DEBUG. Use the latter in DBTManager.
Diffstat (limited to 'java/direct_bt')
-rw-r--r-- | java/direct_bt/tinyb/DBTManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/direct_bt/tinyb/DBTManager.java b/java/direct_bt/tinyb/DBTManager.java index e1c669b9..c9c6ef9c 100644 --- a/java/direct_bt/tinyb/DBTManager.java +++ b/java/direct_bt/tinyb/DBTManager.java @@ -34,6 +34,7 @@ import java.util.List; import org.tinyb.BluetoothAdapter; import org.tinyb.BluetoothDevice; import org.tinyb.BluetoothException; +import org.tinyb.BluetoothFactory; import org.tinyb.BluetoothGattService; import org.tinyb.BluetoothObject; import org.tinyb.BluetoothManager; @@ -41,7 +42,7 @@ import org.tinyb.BluetoothType; public class DBTManager implements BluetoothManager { - protected static final boolean DEBUG = false; + protected static final boolean DEBUG = BluetoothFactory.DEBUG; private static volatile boolean isJVMShuttingDown = false; private static final List<Runnable> userShutdownHooks = new ArrayList<Runnable>(); |