hv.java
1.89 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
87
88
89
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import com.google.android.gms.common.internal.zzac;
import com.google.android.gms.common.util.zze;
import com.google.android.gms.internal.zzatx;
import com.google.android.gms.internal.zzatx.zza;
import com.google.android.gms.internal.zzaud;
import com.google.android.gms.internal.zzaue;
public abstract class hv
{
private static volatile Handler b;
private final zzaue a;
private final Runnable c;
private volatile long d;
private boolean e;
protected hv(zzaue paramzzaue)
{
zzac.zzw(paramzzaue);
this.a = paramzzaue;
this.e = true;
this.c = new Runnable()
{
public final void run()
{
if (Looper.myLooper() == Looper.getMainLooper()) {
hv.a(hv.this).zzKk().zzm(this);
}
boolean bool;
do
{
return;
bool = hv.this.b();
hv.b(hv.this);
} while ((!bool) || (!hv.c(hv.this)));
hv.this.a();
}
};
}
private Handler d()
{
if (b != null) {
return b;
}
try
{
if (b == null) {
b = new Handler(this.a.getContext().getMainLooper());
}
Handler localHandler = b;
return localHandler;
}
finally {}
}
public abstract void a();
public final void a(long paramLong)
{
c();
if (paramLong >= 0L)
{
this.d = this.a.zznR().currentTimeMillis();
if (!d().postDelayed(this.c, paramLong)) {
this.a.zzKl().zzLY().zzj("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);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/hv.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/