summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/org/direct_bt/BTDeviceRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/org/direct_bt/BTDeviceRegistry.java b/java/org/direct_bt/BTDeviceRegistry.java
index 553c5413..77c55703 100644
--- a/java/org/direct_bt/BTDeviceRegistry.java
+++ b/java/org/direct_bt/BTDeviceRegistry.java
@@ -144,7 +144,7 @@ public class BTDeviceRegistry {
}
}
public static boolean isWaitingForAnyDevice() {
- return waitForDevices.size()>0;
+ return waitForDevices.size()==0;
}
public static int getWaitForDevicesCount() {
return waitForDevices.size();