apkfuckery/com.discord/smali/f/d/a/e$e.smali

106 lines
2.5 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lf/d/a/e$e;
.super Ljava/lang/Object;
.source "LottieCompositionFactory.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-07-08 16:44:49 +00:00
value = Lf/d/a/e;->e(Landroid/content/Context;I)Lf/d/a/o;
2020-05-17 12:40:10 +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-07-08 16:44:49 +00:00
"Lf/d/a/m<",
2020-05-17 12:40:10 +00:00
"Lf/d/a/d;",
">;>;"
}
.end annotation
# instance fields
.field public final synthetic d:Landroid/content/Context;
.field public final synthetic e:I
# direct methods
.method public constructor <init>(Landroid/content/Context;I)V
.locals 0
iput-object p1, p0, Lf/d/a/e$e;->d:Landroid/content/Context;
iput p2, p0, Lf/d/a/e$e;->e:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call()Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.locals 4
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
iget-object v0, p0, Lf/d/a/e$e;->d:Landroid/content/Context;
iget v1, p0, Lf/d/a/e$e;->e:I
2020-07-08 16:44:49 +00:00
:try_start_0
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->openRawResource(I)Ljava/io/InputStream;
move-result-object v0
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "rawRes_"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lf/d/a/e;->c(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/m;
move-result-object v0
:try_end_0
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
new-instance v1, Lf/d/a/m;
invoke-direct {v1, v0}, Lf/d/a/m;-><init>(Ljava/lang/Throwable;)V
move-object v0, v1
:goto_0
2020-05-17 12:40:10 +00:00
return-object v0
.end method