zzaup.java
1.87 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
package com.google.android.gms.internal;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import com.google.android.gms.common.util.zze;
import hv;
import hz;
public class zzaup
extends hz
{
private boolean a;
private final AlarmManager b = (AlarmManager)getContext().getSystemService("alarm");
private final hv c;
protected zzaup(zzaue paramzzaue)
{
super(paramzzaue);
this.c = new hv(paramzzaue)
{
public final void a()
{
zzaup.a(zzaup.this);
}
};
}
private PendingIntent a()
{
Intent localIntent = new Intent();
Context localContext = getContext();
zzKn().zzLg();
localIntent = localIntent.setClassName(localContext, "com.google.android.gms.measurement.AppMeasurementReceiver");
localIntent.setAction("com.google.android.gms.measurement.UPLOAD");
return PendingIntent.getBroadcast(getContext(), 0, localIntent, 0);
}
public void cancel()
{
zzob();
this.a = false;
this.b.cancel(a());
this.c.c();
}
protected void zzmS()
{
this.b.cancel(a());
}
public void zzy(long paramLong)
{
zzob();
zzKn().zzLg();
if (!zzaub.zzi(getContext(), false)) {
zzKl().zzMd().log("Receiver not registered/enabled");
}
zzKn().zzLg();
if (!zzaum.zzj(getContext(), false)) {
zzKl().zzMd().log("Service not registered/enabled");
}
cancel();
long l = zznR().elapsedRealtime();
this.a = true;
if ((paramLong < zzKn().zzLx()) && (!this.c.b())) {
this.c.a(paramLong);
}
this.b.setInexactRepeating(2, l + paramLong, Math.max(zzKn().zzLy(), paramLong), a());
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/android/gms/internal/zzaup.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/