From b9d6b05d872510a0a2c550e61a055c475490b242 Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 29 Jun 2017 07:28:15 -0700 Subject: [PATCH] tweak logging --- .../src/main/java/org/eehouse/android/xw4/SMSReceiver.java | 2 +- .../app/src/main/java/org/eehouse/android/xw4/SMSService.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSReceiver.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSReceiver.java index e877d85ef..97036da09 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSReceiver.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSReceiver.java @@ -33,7 +33,7 @@ public class SMSReceiver extends BroadcastReceiver { public void onReceive( Context context, Intent intent ) { String action = intent.getAction(); - // DbgUtils.logf( "SMSReceiver.onReceive: action=%s", action ); + // Log.d( TAG, "onReceive(): action=%s", action ); if ( action.equals("android.intent.action.DATA_SMS_RECEIVED") ) { Bundle bundle = intent.getExtras(); if ( null != bundle ) { diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSService.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSService.java index fb731e214..38c1bef61 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSService.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/SMSService.java @@ -681,8 +681,8 @@ public class SMSService extends XWService { for ( byte[] fragment : fragments ) { mgr.sendDataMessage( phone, null, nbsPort, fragment, sent, delivery ); - Log.i( TAG, "sendBuffers(): sent %d byte fragment", - fragment.length ); + Log.i( TAG, "sendBuffers(): sent %d byte fragment to %s", + fragment.length, phone ); } success = true; } catch ( IllegalArgumentException iae ) {