mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 15:19:53 +01:00
Log the local Bluetooth address.
This commit is contained in:
@@ -60,6 +60,9 @@ class BluetoothPlugin extends AbstractPlugin implements StreamPlugin {
|
|||||||
synchronized(this) {
|
synchronized(this) {
|
||||||
super.start();
|
super.start();
|
||||||
localDevice = LocalDevice.getLocalDevice();
|
localDevice = LocalDevice.getLocalDevice();
|
||||||
|
if(LOG.isLoggable(Level.INFO))
|
||||||
|
LOG.info("Local address " +
|
||||||
|
localDevice.getBluetoothAddress());
|
||||||
}
|
}
|
||||||
} catch(UnsatisfiedLinkError e) {
|
} catch(UnsatisfiedLinkError e) {
|
||||||
// On Linux the user may need to install libbluetooth-dev
|
// On Linux the user may need to install libbluetooth-dev
|
||||||
|
|||||||
Reference in New Issue
Block a user