121 lines
2.5 KiB
Smali
121 lines
2.5 KiB
Smali
.class public Lf/c/a/h0;
|
|
.super Ljava/lang/Object;
|
|
.source "AttributionHandler.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Lf/c/a/c0;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/c/a/c0;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/c/a/h0;->d:Lf/c/a/c0;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lf/c/a/h0;->d:Lf/c/a/c0;
|
|
|
|
iget-boolean v1, v0, Lf/c/a/c0;->f:Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v0, v0, Lf/c/a/c0;->c:Lf/c/a/q0;
|
|
|
|
new-array v1, v2, [Ljava/lang/Object;
|
|
|
|
check-cast v0, Lf/c/a/x0;
|
|
|
|
const-string v2, "Attribution handler is paused"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lf/c/a/x0;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, v0, Lf/c/a/c0;->c:Lf/c/a/q0;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
new-array v4, v3, [Ljava/lang/Object;
|
|
|
|
iget-object v5, v0, Lf/c/a/c0;->d:Lf/c/a/p;
|
|
|
|
invoke-virtual {v5}, Lf/c/a/p;->a()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
aput-object v5, v4, v2
|
|
|
|
check-cast v1, Lf/c/a/x0;
|
|
|
|
const-string v5, "%s"
|
|
|
|
invoke-virtual {v1, v5, v4}, Lf/c/a/x0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:try_start_0
|
|
iget-object v1, v0, Lf/c/a/c0;->d:Lf/c/a/p;
|
|
|
|
invoke-static {v1}, Ld0/a/b/b/a;->s(Lf/c/a/p;)Lf/c/a/j1;
|
|
|
|
move-result-object v1
|
|
|
|
instance-of v4, v1, Lf/c/a/i0;
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
check-cast v1, Lf/c/a/i0;
|
|
|
|
iget-object v4, v0, Lf/c/a/c0;->a:Lf/c/a/l0;
|
|
|
|
new-instance v5, Lf/c/a/g0;
|
|
|
|
invoke-direct {v5, v0, v1}, Lf/c/a/g0;-><init>(Lf/c/a/c0;Lf/c/a/i0;)V
|
|
|
|
iget-object v1, v4, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {v1, v5}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
iget-object v0, v0, Lf/c/a/c0;->c:Lf/c/a/q0;
|
|
|
|
new-array v3, v3, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
aput-object v1, v3, v2
|
|
|
|
check-cast v0, Lf/c/a/x0;
|
|
|
|
const-string v1, "Failed to get attribution (%s)"
|
|
|
|
invoke-virtual {v0, v1, v3}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|