mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
tweak logging
This commit is contained in:
parent
d6bbccb773
commit
b9d6b05d87
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ public class SMSReceiver extends BroadcastReceiver {
|
||||||
public void onReceive( Context context, Intent intent )
|
public void onReceive( Context context, Intent intent )
|
||||||
{
|
{
|
||||||
String action = intent.getAction();
|
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") ) {
|
if ( action.equals("android.intent.action.DATA_SMS_RECEIVED") ) {
|
||||||
Bundle bundle = intent.getExtras();
|
Bundle bundle = intent.getExtras();
|
||||||
if ( null != bundle ) {
|
if ( null != bundle ) {
|
||||||
|
|
|
@ -681,8 +681,8 @@ public class SMSService extends XWService {
|
||||||
for ( byte[] fragment : fragments ) {
|
for ( byte[] fragment : fragments ) {
|
||||||
mgr.sendDataMessage( phone, null, nbsPort, fragment, sent,
|
mgr.sendDataMessage( phone, null, nbsPort, fragment, sent,
|
||||||
delivery );
|
delivery );
|
||||||
Log.i( TAG, "sendBuffers(): sent %d byte fragment",
|
Log.i( TAG, "sendBuffers(): sent %d byte fragment to %s",
|
||||||
fragment.length );
|
fragment.length, phone );
|
||||||
}
|
}
|
||||||
success = true;
|
success = true;
|
||||||
} catch ( IllegalArgumentException iae ) {
|
} catch ( IllegalArgumentException iae ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue