Skip to content
Snippets Groups Projects
Commit 491e0adc authored by goapunk's avatar goapunk
Browse files

Use uuid created from the commitment/payload instead of the uuid returned from getUuid()


Signed-off-by: default avatargoapunk <noobie@goapunks.net>
parent 20de6f1a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment