la.java
1.03 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
import com.google.android.gms.common.util.zze;
import com.google.android.gms.common.util.zzi;
import com.google.android.gms.tagmanager.zzbo;
public final class la
implements kk
{
private final long a = 2000L;
private final int b = 60;
private double c = this.b;
private long d;
private final Object e = new Object();
private final zze f = zzi.zzzc();
private la() {}
public la(byte paramByte)
{
this();
}
public final boolean a()
{
synchronized (this.e)
{
long l = this.f.currentTimeMillis();
if (this.c < this.b)
{
double d1 = (l - this.d) / this.a;
if (d1 > 0.0D) {
this.c = Math.min(this.b, d1 + this.c);
}
}
this.d = l;
if (this.c >= 1.0D)
{
this.c -= 1.0D;
return true;
}
zzbo.zzbh("No more tokens available.");
return false;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/la.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/