ij.java
1.74 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import com.google.android.gms.analytics.zzh;
import com.google.android.gms.common.internal.zzac;
import com.google.android.gms.common.util.zze;
import com.google.android.gms.internal.zzsc;
import com.google.android.gms.internal.zztd;
public abstract class ij
{
private static volatile Handler a;
final zzsc b;
final Runnable c;
volatile long d;
protected ij(zzsc paramzzsc)
{
zzac.zzw(paramzzsc);
this.b = paramzzsc;
this.c = new Runnable()
{
public final void run()
{
if (Looper.myLooper() == Looper.getMainLooper()) {
ij.a(ij.this).zznU().zzg(this);
}
boolean bool;
do
{
return;
bool = ij.this.b();
ij.b(ij.this);
} while (!bool);
ij.this.a();
}
};
}
public abstract void a();
public final void a(long paramLong)
{
c();
if (paramLong >= 0L)
{
this.d = this.b.zznR().currentTimeMillis();
if (!d().postDelayed(this.c, paramLong)) {
this.b.zznS().zze("Failed to schedule delayed post. time", Long.valueOf(paramLong));
}
}
}
public final boolean b()
{
return this.d != 0L;
}
public final void c()
{
this.d = 0L;
d().removeCallbacks(this.c);
}
final Handler d()
{
if (a != null) {
return a;
}
try
{
if (a == null) {
a = new Handler(this.b.getContext().getMainLooper());
}
Handler localHandler = a;
return localHandler;
}
finally {}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/ij.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/