diff options
author | Sven Gothel <[email protected]> | 2020-06-09 20:57:22 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-09 20:57:22 +0200 |
commit | 02c270b54ba9845b1cdeccb793504b61ecffb6dd (patch) | |
tree | e2d45bb9a599f1f6b0d0cdbecdcdfee36485be8a /java/direct_bt | |
parent | 888cda5041d45c98b93c2ed506d08f3f453240f8 (diff) |
Java/C++: start/stop discovery shall return true even if operation not required
Diffstat (limited to 'java/direct_bt')
-rw-r--r-- | java/direct_bt/tinyb/DBTAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/direct_bt/tinyb/DBTAdapter.java b/java/direct_bt/tinyb/DBTAdapter.java index 4cbc071f..cc58307f 100644 --- a/java/direct_bt/tinyb/DBTAdapter.java +++ b/java/direct_bt/tinyb/DBTAdapter.java @@ -320,7 +320,7 @@ public class DBTAdapter extends DBTObject implements BluetoothAdapter if( isDiscovering.get() ) { return stopDiscoveryImpl(); // event callbacks will be generated by implementation } - return false; + return true; } private native boolean stopDiscoveryImpl() throws BluetoothException; |