mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 22:29:53 +01:00
Log discovered devices to track down discovery bugs.
This commit is contained in:
@@ -461,6 +461,8 @@ class DroidtoothPlugin implements DuplexPlugin {
|
|||||||
finished.countDown();
|
finished.countDown();
|
||||||
} else if(action.equals(FOUND)) {
|
} else if(action.equals(FOUND)) {
|
||||||
BluetoothDevice d = intent.getParcelableExtra(EXTRA_DEVICE);
|
BluetoothDevice d = intent.getParcelableExtra(EXTRA_DEVICE);
|
||||||
|
if(LOG.isLoggable(INFO))
|
||||||
|
LOG.info("Discovered device: " + d.getAddress());
|
||||||
addresses.add(d.getAddress());
|
addresses.add(d.getAddress());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user