2020-04-11 15:34:05 +00:00
|
|
|
.class public final Lf/d/a/e$c;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "LottieCompositionFactory.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/concurrent/Callable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2020-04-11 15:34:05 +00:00
|
|
|
value = Lf/d/a/e;->c(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/n;
|
2019-12-06 03:29:40 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x9
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ljava/util/concurrent/Callable<",
|
2020-04-11 15:34:05 +00:00
|
|
|
"Lf/d/a/l<",
|
|
|
|
"Lf/d/a/d;",
|
2019-12-06 03:29:40 +00:00
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic d:Landroid/content/Context;
|
|
|
|
|
|
|
|
.field public final synthetic e:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iput-object p1, p0, Lf/d/a/e$c;->d:Landroid/content/Context;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iput-object p2, p0, Lf/d/a/e$c;->e:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public call()Ljava/lang/Object;
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/lang/Exception;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v0, p0, Lf/d/a/e$c;->d:Landroid/content/Context;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v1, p0, Lf/d/a/e$c;->e:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
new-instance v2, Lf/d/a/v/c;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {v2, v0, v1}, Lf/d/a/v/c;-><init>(Landroid/content/Context;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v0, v2, Lf/d/a/v/c;->c:Lf/d/a/v/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v0}, Lf/d/a/v/b;->a()Landroidx/core/util/Pair;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v3, v0, Landroidx/core/util/Pair;->first:Ljava/lang/Object;
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
check-cast v3, Lf/d/a/v/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
iget-object v0, v0, Landroidx/core/util/Pair;->second:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/io/InputStream;
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
sget-object v4, Lf/d/a/v/a;->e:Lf/d/a/v/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-ne v3, v4, :cond_1
|
|
|
|
|
|
|
|
new-instance v3, Ljava/util/zip/ZipInputStream;
|
|
|
|
|
|
|
|
invoke-direct {v3, v0}, Ljava/util/zip/ZipInputStream;-><init>(Ljava/io/InputStream;)V
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v0, v2, Lf/d/a/v/c;->b:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v3, v0}, Lf/d/a/e;->a(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v3, v2, Lf/d/a/v/c;->b:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v0, v3}, Lf/d/a/e;->a(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_0
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/l;->a:Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
check-cast v1, Lf/d/a/d;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
new-instance v0, Lf/d/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {v0, v1}, Lf/d/a/l;-><init>(Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string v0, "Animation for "
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
iget-object v1, v2, Lf/d/a/v/c;->b:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, " not found in cache. Fetching from network."
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-static {v0}, Lf/d/a/x/c;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:try_start_0
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-virtual {v2}, Lf/d/a/v/c;->a()Lf/d/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
new-instance v1, Lf/d/a/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-11 15:34:05 +00:00
|
|
|
invoke-direct {v1, v0}, Lf/d/a/l;-><init>(Ljava/lang/Throwable;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-object v0, v1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
return-object v0
|
|
|
|
.end method
|