apkfuckery/com.discord/smali/e/d/a/n$a.smali
2019-12-06 04:29:40 +01:00

97 lines
2 KiB
Smali

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