apkfuckery/com.discord/smali/com/airbnb/lottie/l$a.smali
2019-10-23 06:50:18 +02:00

96 lines
2.3 KiB
Smali

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