zzsc.java
5.24 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
package com.google.android.gms.internal;
import android.content.Context;
import com.google.android.gms.analytics.GoogleAnalytics;
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.common.util.zzi;
public class zzsc
{
private static volatile zzsc a;
private final Context b;
private final Context c;
private final zze d;
private final zzsp e;
private final zztd f;
private final zzh g;
private final zzry h;
private final zzst i;
private final zztn j;
private final zztg k;
private final GoogleAnalytics l;
private final zzsk m;
private final zzrx n;
private final zzsh o;
private final zzss p;
protected zzsc(zzsd paramzzsd)
{
Object localObject1 = paramzzsd.getApplicationContext();
zzac.zzb(localObject1, "Application context can't be null");
Object localObject2 = paramzzsd.zzod();
zzac.zzw(localObject2);
this.b = ((Context)localObject1);
this.c = ((Context)localObject2);
this.d = paramzzsd.zzh(this);
this.e = paramzzsd.zzg(this);
localObject2 = paramzzsd.zzf(this);
((zztd)localObject2).initialize();
this.f = ((zztd)localObject2);
localObject2 = zznS();
Object localObject3 = zzsb.VERSION;
((zztd)localObject2).zzbR(String.valueOf(localObject3).length() + 134 + "Google Analytics " + (String)localObject3 + " is starting up. To enable debug logging on a device run:\n adb shell setprop log.tag.GAv4 DEBUG\n adb logcat -s GAv4");
localObject2 = paramzzsd.zzq(this);
((zztg)localObject2).initialize();
this.k = ((zztg)localObject2);
localObject2 = paramzzsd.zze(this);
((zztn)localObject2).initialize();
this.j = ((zztn)localObject2);
localObject2 = paramzzsd.zzl(this);
localObject3 = paramzzsd.zzd(this);
zzrx localzzrx = paramzzsd.zzc(this);
zzsh localzzsh = paramzzsd.zzb(this);
zzss localzzss = paramzzsd.zza(this);
localObject1 = paramzzsd.zzao((Context)localObject1);
((zzh)localObject1).zza(zzoc());
this.g = ((zzh)localObject1);
localObject1 = paramzzsd.zzi(this);
((zzsk)localObject3).initialize();
this.m = ((zzsk)localObject3);
localzzrx.initialize();
this.n = localzzrx;
localzzsh.initialize();
this.o = localzzsh;
localzzss.initialize();
this.p = localzzss;
paramzzsd = paramzzsd.zzp(this);
paramzzsd.initialize();
this.i = paramzzsd;
((zzry)localObject2).initialize();
this.h = ((zzry)localObject2);
((GoogleAnalytics)localObject1).initialize();
this.l = ((GoogleAnalytics)localObject1);
((zzry)localObject2).start();
}
private static void a(zzsa paramzzsa)
{
zzac.zzb(paramzzsa, "Analytics service not created/initialized");
zzac.zzb(paramzzsa.isInitialized(), "Analytics service not initialized");
}
public static zzsc zzan(Context paramContext)
{
zzac.zzw(paramContext);
if (a == null) {}
try
{
if (a == null)
{
zze localzze = zzi.zzzc();
long l1 = localzze.elapsedRealtime();
paramContext = new zzsc(new zzsd(paramContext));
a = paramContext;
GoogleAnalytics.zzmx();
l1 = localzze.elapsedRealtime() - l1;
long l2 = ((Long)zzsw.zzafZ.get()).longValue();
if (l1 > l2) {
paramContext.zznS().zzc("Slow initialization (ms)", Long.valueOf(l1), Long.valueOf(l2));
}
}
return a;
}
finally {}
}
public Context getContext()
{
return this.b;
}
public zzry zzmA()
{
a(this.h);
return this.h;
}
public zztn zzmB()
{
a(this.j);
return this.j;
}
public void zzmR() {}
public zze zznR()
{
return this.d;
}
public zztd zznS()
{
a(this.f);
return this.f;
}
public zzsp zznT()
{
return this.e;
}
public zzh zznU()
{
zzac.zzw(this.g);
return this.g;
}
public zzst zznV()
{
a(this.i);
return this.i;
}
public zztg zznW()
{
a(this.k);
return this.k;
}
public zzsh zznZ()
{
a(this.o);
return this.o;
}
public zzss zzoa()
{
return this.p;
}
protected Thread.UncaughtExceptionHandler zzoc()
{
new Thread.UncaughtExceptionHandler()
{
public final void uncaughtException(Thread paramAnonymousThread, Throwable paramAnonymousThrowable)
{
paramAnonymousThread = zzsc.this.zzoe();
if (paramAnonymousThread != null) {
paramAnonymousThread.zze("Job execution failed", paramAnonymousThrowable);
}
}
};
}
public Context zzod()
{
return this.c;
}
public zztd zzoe()
{
return this.f;
}
public GoogleAnalytics zzof()
{
zzac.zzw(this.l);
zzac.zzb(this.l.isInitialized(), "Analytics instance not initialized");
return this.l;
}
public zztg zzog()
{
if ((this.k == null) || (!this.k.isInitialized())) {
return null;
}
return this.k;
}
public zzrx zzoh()
{
a(this.n);
return this.n;
}
public zzsk zzoi()
{
a(this.m);
return this.m;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/android/gms/internal/zzsc.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/