From 0b05a174ce60bcb99509f5a738abbfaaf926d7b2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 23 Apr 2022 01:11:30 +0200 Subject: DBTAdapter.java: Fix BTAdapter::removeStatusListener() return value --- java/jau/direct_bt/DBTAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') diff --git a/java/jau/direct_bt/DBTAdapter.java b/java/jau/direct_bt/DBTAdapter.java index 4195769f..61b4d57f 100644 --- a/java/jau/direct_bt/DBTAdapter.java +++ b/java/jau/direct_bt/DBTAdapter.java @@ -522,7 +522,7 @@ public class DBTAdapter extends DBTObject implements BTAdapter BTUtils.fprintf_td(System.err, "BTAdapter::removeStatusListener: removed %b, %s", res, toString()); printDeviceLists(); } - return false; + return res; } /* pp */ native boolean removeStatusListenerImpl(final AdapterStatusListener l); -- cgit v1.2.3