apkfuckery/com.discord/smali/f/d/a/p$a.smali
2020-11-12 02:11:44 +00:00

97 lines
2 KiB
Smali

.class public Lf/d/a/p$a;
.super Ljava/util/concurrent/FutureTask;
.source "LottieTask.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/d/a/p;
.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/n<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final synthetic d:Lf/d/a/p;
# direct methods
.method public constructor <init>(Lf/d/a/p;Ljava/util/concurrent/Callable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Callable<",
"Lf/d/a/n<",
"TT;>;>;)V"
}
.end annotation
iput-object p1, p0, Lf/d/a/p$a;->d:Lf/d/a/p;
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/p$a;->d:Lf/d/a/p;
invoke-virtual {p0}, Ljava/util/concurrent/FutureTask;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/d/a/n;
invoke-virtual {v0, v1}, Lf/d/a/p;->c(Lf/d/a/n;)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/p$a;->d:Lf/d/a/p;
new-instance v2, Lf/d/a/n;
invoke-direct {v2, v0}, Lf/d/a/n;-><init>(Ljava/lang/Throwable;)V
invoke-virtual {v1, v2}, Lf/d/a/p;->c(Lf/d/a/n;)V
:goto_1
return-void
.end method