log BT UUID on startup

This commit is contained in:
Eric House 2021-10-26 11:39:52 -07:00
parent 378b068238
commit 8e45c57178
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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;
}