mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-24 07:58:34 +01:00
use logdf instead
This commit is contained in:
parent
e0cf48779d
commit
08da6e5472
1 changed files with 5 additions and 5 deletions
|
@ -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 ) ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue