apkfuckery/com.discord/smali/f/d/a/n$a.smali
2020-05-11 21:22:21 +02:00

97 lines
2 KiB
Smali

.class public Lf/d/a/n$a;
.super Ljava/util/concurrent/FutureTask;
.source "LottieTask.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/d/a/n;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/FutureTask<",
"Lf/d/a/l<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final synthetic d:Lf/d/a/n;
# direct methods
.method public constructor <init>(Lf/d/a/n;Ljava/util/concurrent/Callable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"Lf/d/a/l<",
"TT;>;>;)V"
}
.end annotation
iput-object p1, p0, Lf/d/a/n$a;->d:Lf/d/a/n;
invoke-direct {p0, p2}, Ljava/util/concurrent/FutureTask;-><init>(Ljava/util/concurrent/Callable;)V
return-void
.end method
# virtual methods
.method public done()V
.locals 3
invoke-virtual {p0}, Ljava/util/concurrent/FutureTask;->isCancelled()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
:try_start_0
iget-object v0, p0, Lf/d/a/n$a;->d:Lf/d/a/n;
invoke-virtual {p0}, Ljava/util/concurrent/FutureTask;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/d/a/l;
invoke-static {v0, v1}, Lf/d/a/n;->a(Lf/d/a/n;Lf/d/a/l;)V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:catch_0
move-exception v0
goto :goto_0
:catch_1
move-exception v0
:goto_0
iget-object v1, p0, Lf/d/a/n$a;->d:Lf/d/a/n;
new-instance v2, Lf/d/a/l;
invoke-direct {v2, v0}, Lf/d/a/l;-><init>(Ljava/lang/Throwable;)V
invoke-static {v1, v2}, Lf/d/a/n;->a(Lf/d/a/n;Lf/d/a/l;)V
:goto_1
return-void
.end method