From 491e0adc9cd8ebbd7c2b3d55fa16f7f09fca2eea Mon Sep 17 00:00:00 2001 From: goapunk <noobie@goapunks.net> Date: Wed, 23 Nov 2016 10:07:47 +0100 Subject: [PATCH] Use uuid created from the commitment/payload instead of the uuid returned from getUuid() Signed-off-by: goapunk <noobie@goapunks.net> --- .../org/briarproject/plugins/droidtooth/DroidtoothPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/briar-android/src/org/briarproject/plugins/droidtooth/DroidtoothPlugin.java b/briar-android/src/org/briarproject/plugins/droidtooth/DroidtoothPlugin.java index 7805acd868..3d964ecbe5 100644 --- a/briar-android/src/org/briarproject/plugins/droidtooth/DroidtoothPlugin.java +++ b/briar-android/src/org/briarproject/plugins/droidtooth/DroidtoothPlugin.java @@ -387,7 +387,7 @@ class DroidtoothPlugin implements DuplexPlugin { BluetoothServerSocket ss; try { ss = adapter.listenUsingInsecureRfcommWithServiceRecord( - "RFCOMM", getUuid()); + "RFCOMM", uuid); } catch (IOException e) { if (LOG.isLoggable(WARNING)) LOG.log(WARNING, e.toString(), e); return null; @@ -472,7 +472,7 @@ class DroidtoothPlugin implements DuplexPlugin { BluetoothServerSocket ss; try { ss = adapter.listenUsingInsecureRfcommWithServiceRecord( - "RFCOMM", getUuid()); + "RFCOMM", uuid); } catch (IOException e) { if (LOG.isLoggable(WARNING)) LOG.log(WARNING, e.toString(), e); return null; -- GitLab