PushGCMIntentService.java 1.61 KB
package com.arellomobile.android.push;

import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.google.android.gcm.GCMBaseIntentService;

public class PushGCMIntentService
  extends GCMBaseIntentService
{
  protected void onDeletedMessages(Context paramContext, int paramInt)
  {
    Log.i("GCMIntentService", "Received deleted messages notification");
  }
  
  protected void onError(Context paramContext, String paramString)
  {
    Log.e("GCMIntentService", "Messaging registration error: " + paramString);
    PushEventsTransmitter.b(paramContext, paramString);
  }
  
  protected void onMessage(Context paramContext, Intent paramIntent)
  {
    Log.i("GCMIntentService", "Received message");
    PushServiceHelper.generateNotification(paramContext, paramIntent);
  }
  
  protected boolean onRecoverableError(Context paramContext, String paramString)
  {
    Log.i("GCMIntentService", "Received recoverable error: " + paramString);
    return super.onRecoverableError(paramContext, paramString);
  }
  
  protected void onRegistered(Context paramContext, String paramString)
  {
    Log.i("GCMIntentService", "Device registered: regId = " + paramString);
    DeviceRegistrar.a(paramContext, paramString);
  }
  
  protected void onUnregistered(Context paramContext, String paramString)
  {
    Log.i("GCMIntentService", "Device unregistered");
    DeviceRegistrar.b(paramContext, paramString);
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/arellomobile/android/push/PushGCMIntentService.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */