2019-02-04 20:08:30 +00:00
|
|
|
.class final Lcom/airbnb/lottie/k$2;
|
|
|
|
.super Ljava/lang/Thread;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "LottieTask.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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
|
2019-02-04 20:42:43 +00:00
|
|
|
.field final synthetic hn:Lcom/airbnb/lottie/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
.field private ho:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/airbnb/lottie/k;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/k$2;->hn:Lcom/airbnb/lottie/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p2}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
iput-boolean p1, p0, Lcom/airbnb/lottie/k$2;->ho:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
iget-boolean v0, p0, Lcom/airbnb/lottie/k$2;->ho:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-02-08 08:21:44 +00:00
|
|
|
goto :goto_3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-02-04 20:42:43 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/k$2;->hn:Lcom/airbnb/lottie/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
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
|
2019-02-04 20:42:43 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/k$2;->hn:Lcom/airbnb/lottie/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/k$2;->hn:Lcom/airbnb/lottie/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
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
|
2019-02-08 08:21:44 +00:00
|
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_1
|
2019-02-04 20:08:30 +00:00
|
|
|
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
2019-02-08 08:21:44 +00:00
|
|
|
goto :goto_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-08 08:21:44 +00:00
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:goto_1
|
2019-02-04 20:42:43 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/k$2;->hn:Lcom/airbnb/lottie/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-02-08 08:21:44 +00:00
|
|
|
:goto_2
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
iput-boolean v0, p0, Lcom/airbnb/lottie/k$2;->ho:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/k$2;->hn:Lcom/airbnb/lottie/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/airbnb/lottie/k;->c(Lcom/airbnb/lottie/k;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
2019-02-08 08:21:44 +00:00
|
|
|
:goto_3
|
2019-02-04 20:08:30 +00:00
|
|
|
return-void
|
|
|
|
.end method
|