g.java
1.39 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
52
53
54
55
56
57
package com.instabug.library;
import android.app.IntentService;
import android.content.Intent;
import com.instabug.library.e.a;
import com.instabug.library.util.InstabugSDKLogger;
public abstract class g
extends IntentService
{
public g()
{
super(g.class.getSimpleName());
setIntentRedelivery(true);
}
protected abstract boolean a();
public abstract void b()
throws Exception;
public void onCreate()
{
super.onCreate();
InstabugSDKLogger.v(this, "New " + getClass().getSimpleName() + " created");
}
public void onDestroy()
{
super.onDestroy();
InstabugSDKLogger.v(this, getClass().getSimpleName() + " destroyed");
}
protected void onHandleIntent(Intent paramIntent)
{
InstabugSDKLogger.v(this, getClass().getSimpleName() + " started with intent " + paramIntent);
if ((a()) && (a.a(this))) {
InstabugSDKLogger.v(this, "Internet is good to go");
}
try
{
InstabugSDKLogger.v(this, "Starting " + getClass().getSimpleName() + " task");
b();
return;
}
catch (Exception paramIntent)
{
InstabugSDKLogger.d(this, "An error occurred while doing " + getClass().getSimpleName() + "'s required task " + paramIntent);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/instabug/library/g.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/