apkfuckery/com.discord/smali/com/airbnb/lottie/k$2.smali
2019-05-03 20:53:54 +02:00

123 lines
2.8 KiB
Smali

.class final Lcom/airbnb/lottie/k$2;
.super Ljava/lang/Thread;
.source "LottieTask.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/airbnb/lottie/k;->aX()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic gY:Lcom/airbnb/lottie/k;
.field private gZ:Z
# direct methods
.method constructor <init>(Lcom/airbnb/lottie/k;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/airbnb/lottie/k$2;->gY:Lcom/airbnb/lottie/k;
invoke-direct {p0, p2}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V
const/4 p1, 0x0
iput-boolean p1, p0, Lcom/airbnb/lottie/k$2;->gZ:Z
return-void
.end method
# virtual methods
.method public final run()V
.locals 3
:cond_0
:goto_0
invoke-virtual {p0}, Lcom/airbnb/lottie/k$2;->isInterrupted()Z
move-result v0
if-nez v0, :cond_2
iget-boolean v0, p0, Lcom/airbnb/lottie/k$2;->gZ:Z
if-eqz v0, :cond_1
goto :goto_3
:cond_1
iget-object v0, p0, Lcom/airbnb/lottie/k$2;->gY:Lcom/airbnb/lottie/k;
invoke-static {v0}, Lcom/airbnb/lottie/k;->b(Lcom/airbnb/lottie/k;)Ljava/util/concurrent/FutureTask;
move-result-object v0
invoke-virtual {v0}, Ljava/util/concurrent/FutureTask;->isDone()Z
move-result v0
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/airbnb/lottie/k$2;->gY:Lcom/airbnb/lottie/k;
iget-object v1, p0, Lcom/airbnb/lottie/k$2;->gY:Lcom/airbnb/lottie/k;
invoke-static {v1}, Lcom/airbnb/lottie/k;->b(Lcom/airbnb/lottie/k;)Ljava/util/concurrent/FutureTask;
move-result-object v1
invoke-virtual {v1}, Ljava/util/concurrent/FutureTask;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/airbnb/lottie/j;
invoke-static {v0, v1}, Lcom/airbnb/lottie/k;->a(Lcom/airbnb/lottie/k;Lcom/airbnb/lottie/j;)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_2
:catch_0
move-exception v0
goto :goto_1
:catch_1
move-exception v0
:goto_1
iget-object v1, p0, Lcom/airbnb/lottie/k$2;->gY:Lcom/airbnb/lottie/k;
new-instance v2, Lcom/airbnb/lottie/j;
invoke-direct {v2, v0}, Lcom/airbnb/lottie/j;-><init>(Ljava/lang/Throwable;)V
invoke-static {v1, v2}, Lcom/airbnb/lottie/k;->a(Lcom/airbnb/lottie/k;Lcom/airbnb/lottie/j;)V
:goto_2
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/k$2;->gZ:Z
iget-object v0, p0, Lcom/airbnb/lottie/k$2;->gY:Lcom/airbnb/lottie/k;
invoke-static {v0}, Lcom/airbnb/lottie/k;->c(Lcom/airbnb/lottie/k;)V
goto :goto_0
:cond_2
:goto_3
return-void
.end method