2020-11-12 02:11:44 +00:00
|
|
|
.class public Lf/d/a/g;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "LottieCompositionFactory.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/concurrent/Callable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ljava/util/concurrent/Callable<",
|
2020-11-21 22:11:07 +00:00
|
|
|
"Lf/d/a/p<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-11-21 22:11:07 +00:00
|
|
|
.field public final synthetic d:Landroid/content/Context;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
.field public final synthetic e:Ljava/lang/String;
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
.field public final synthetic f:Ljava/lang/String;
|
|
|
|
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
# direct methods
|
2020-11-21 22:11:07 +00:00
|
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iput-object p1, p0, Lf/d/a/g;->d:Landroid/content/Context;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
iput-object p2, p0, Lf/d/a/g;->e:Ljava/lang/String;
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iput-object p3, p0, Lf/d/a/g;->f:Ljava/lang/String;
|
|
|
|
|
2020-11-12 02:11:44 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public call()Ljava/lang/Object;
|
2020-11-21 22:11:07 +00:00
|
|
|
.locals 4
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/lang/Exception;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v0, p0, Lf/d/a/g;->d:Landroid/content/Context;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Lf/d/a/g;->e:Ljava/lang/String;
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
iget-object v2, p0, Lf/d/a/g;->f:Ljava/lang/String;
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v3, ".zip"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
|
|
|
new-instance v3, Ljava/util/zip/ZipInputStream;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v3, v0}, Ljava/util/zip/ZipInputStream;-><init>(Ljava/io/InputStream;)V
|
|
|
|
|
|
|
|
invoke-static {v3, v2}, Lf/d/a/e;->d(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/p;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-11-21 22:11:07 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0, v2}, Lf/d/a/e;->b(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/p;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
new-instance v1, Lf/d/a/p;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Lf/d/a/p;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
move-object v0, v1
|
|
|
|
|
|
|
|
:goto_0
|
2020-11-12 02:11:44 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|