PushGCMIntentService.java
1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
*/