From 8e45c57178983c187cbda9287c44e0dc3a5453cf Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 26 Oct 2021 11:39:52 -0700 Subject: [PATCH] log BT UUID on startup --- .../app/src/main/java/org/eehouse/android/xw4/BTUtils.java | 1 + .../android/app/src/main/java/org/eehouse/android/xw4/XWApp.java | 1 + 2 files changed, 2 insertions(+) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java index 50c82d35e..f8a2b0d4c 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTUtils.java @@ -1135,6 +1135,7 @@ public class BTUtils { try { Assert.assertTrueNR( null != sAppName && null != sUUID ); mServerSocket = openListener( mAdapter ); + Log.d( TAG, "openListener(uuid=%s) succeeded", sUUID ); } catch ( IOException ioe ) { Log.ex( TAG, ioe ); mServerSocket = null; diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java index d3e99ab1f..22d1fdc06 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWApp.java @@ -167,6 +167,7 @@ public class XWApp extends Application { if ( null == s_UUID ) { s_UUID = UUID.fromString( XwJNI.comms_getUUID() ); + Log.d( TAG, "s_UUID (for BT): %s", s_UUID ); } return s_UUID; }