use logdf instead

This commit is contained in:
Eric House 2016-03-11 18:23:59 -08:00
parent e0cf48779d
commit 08da6e5472

View file

@ -37,13 +37,13 @@ public class GCMIntentService extends GCMBaseIntentService {
@Override @Override
protected void onError( Context context, String error ) protected void onError( Context context, String error )
{ {
DbgUtils.logf("GCMIntentService.onError(%s)", error ); DbgUtils.logdf("GCMIntentService.onError(%s)", error );
} }
@Override @Override
protected void onRegistered( Context context, String regId ) protected void onRegistered( Context context, String regId )
{ {
DbgUtils.logf( "GCMIntentService.onRegistered(%s)", regId ); DbgUtils.logdf( "GCMIntentService.onRegistered(%s)", regId );
DevID.setGCMDevID( context, regId ); DevID.setGCMDevID( context, regId );
notifyRelayService( context, true ); notifyRelayService( context, true );
} }
@ -51,7 +51,7 @@ public class GCMIntentService extends GCMBaseIntentService {
@Override @Override
protected void onUnregistered( Context context, String regId ) protected void onUnregistered( Context context, String regId )
{ {
DbgUtils.logf( "GCMIntentService.onUnregistered(%s)", regId ); DbgUtils.logdf( "GCMIntentService.onUnregistered(%s)", regId );
DevID.clearGCMDevID( context ); DevID.clearGCMDevID( context );
RelayService.devIDChanged(); RelayService.devIDChanged();
notifyRelayService( context, false ); notifyRelayService( context, false );
@ -60,13 +60,13 @@ public class GCMIntentService extends GCMBaseIntentService {
@Override @Override
protected void onMessage( Context context, Intent intent ) protected void onMessage( Context context, Intent intent )
{ {
DbgUtils.logf( "GCMIntentService.onMessage()" ); DbgUtils.logdf( "GCMIntentService.onMessage()" );
notifyRelayService( context, true ); notifyRelayService( context, true );
String value; String value;
boolean ignoreIt = XWApp.GCM_IGNORED; boolean ignoreIt = XWApp.GCM_IGNORED;
if ( ignoreIt ) { if ( ignoreIt ) {
DbgUtils.logf( "received GCM but ignoring it" ); DbgUtils.logdf( "received GCM but ignoring it" );
} else { } else {
value = intent.getStringExtra( "checkUpdates" ); value = intent.getStringExtra( "checkUpdates" );
if ( null != value && Boolean.parseBoolean( value ) ) { if ( null != value && Boolean.parseBoolean( value ) ) {