104 lines
2.3 KiB
Smali
104 lines
2.3 KiB
Smali
.class public Lf/d/a/h;
|
|
.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<",
|
|
"Lf/d/a/p<",
|
|
"Lf/d/a/d;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Ljava/lang/ref/WeakReference;
|
|
|
|
.field public final synthetic e:Landroid/content/Context;
|
|
|
|
.field public final synthetic f:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/ref/WeakReference;Landroid/content/Context;I)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/d/a/h;->d:Ljava/lang/ref/WeakReference;
|
|
|
|
iput-object p2, p0, Lf/d/a/h;->e:Landroid/content/Context;
|
|
|
|
iput p3, p0, Lf/d/a/h;->f:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public call()Ljava/lang/Object;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/d/a/h;->d:Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/d/a/h;->e:Landroid/content/Context;
|
|
|
|
:goto_0
|
|
iget v1, p0, Lf/d/a/h;->f:I
|
|
|
|
invoke-static {v0, v1}, Lf/d/a/e;->f(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
:try_start_0
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->openRawResource(I)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 Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
: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_1
|
|
return-object v0
|
|
.end method
|