lz$1.java
1.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
import com.google.android.gms.tasks.Continuation;
import com.google.android.gms.tasks.RuntimeExecutionException;
import com.google.android.gms.tasks.Task;
import com.google.android.gms.tasks.TaskExecutors;
final class lz$1
implements Runnable
{
lz$1(lz paramlz, Task paramTask) {}
public final void run()
{
try
{
Task localTask = (Task)lz.a(this.b).then(this.a);
if (localTask == null)
{
this.b.onFailure(new NullPointerException("Continuation returned null"));
return;
}
}
catch (RuntimeExecutionException localRuntimeExecutionException)
{
if ((localRuntimeExecutionException.getCause() instanceof Exception))
{
lz.b(this.b).a((Exception)localRuntimeExecutionException.getCause());
return;
}
lz.b(this.b).a(localRuntimeExecutionException);
return;
}
catch (Exception localException)
{
lz.b(this.b).a(localException);
return;
}
localException.addOnSuccessListener(TaskExecutors.a, this.b);
localException.addOnFailureListener(TaskExecutors.a, this.b);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/lz$1.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/