apkfuckery/com.discord/smali/f/a/g/j.smali

92 lines
2.2 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lf/a/g/j;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
.source "CacheDataSourceFactory.kt"
2020-05-17 12:40:10 +00:00
# interfaces
2020-07-25 02:57:47 +00:00
.implements Lf/h/a/c/h1/j$a;
2020-05-17 12:40:10 +00:00
# instance fields
2020-07-25 02:57:47 +00:00
.field public final a:Lf/h/a/c/h1/o;
2020-07-08 16:44:49 +00:00
.field public final b:J
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-25 02:57:47 +00:00
.method public constructor <init>(Lf/h/a/c/h1/o;J)V
2020-09-09 19:21:20 +00:00
.locals 1
const-string v0, "defaultDatasourceFactory"
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iput-object p1, p0, Lf/a/g/j;->a:Lf/h/a/c/h1/o;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-wide p2, p0, Lf/a/g/j;->b:J
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-25 02:57:47 +00:00
.method public a()Lf/h/a/c/h1/j;
2020-07-08 16:44:49 +00:00
.locals 8
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v0, Lf/a/g/l;->b:Lf/a/g/l;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v0, Lf/a/g/l;->a:Lkotlin/Lazy;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-object v2, v0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
check-cast v2, Lf/h/a/c/h1/y/r;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
new-instance v0, Lf/h/a/c/h1/y/c;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v1, p0, Lf/a/g/j;->a:Lf/h/a/c/h1/o;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
new-instance v3, Lf/h/a/c/h1/n;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v4, v1, Lf/h/a/c/h1/o;->a:Landroid/content/Context;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v5, v1, Lf/h/a/c/h1/o;->c:Lf/h/a/c/h1/j$a;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v5}, Lf/h/a/c/h1/j$a;->a()Lf/h/a/c/h1/j;
2020-07-08 16:44:49 +00:00
move-result-object v5
2020-07-25 02:57:47 +00:00
invoke-direct {v3, v4, v5}, Lf/h/a/c/h1/n;-><init>(Landroid/content/Context;Lf/h/a/c/h1/j;)V
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v1, v1, Lf/h/a/c/h1/o;->b:Lf/h/a/c/h1/x;
2020-07-08 16:44:49 +00:00
if-eqz v1, :cond_0
2020-07-25 02:57:47 +00:00
invoke-virtual {v3, v1}, Lf/h/a/c/h1/n;->b(Lf/h/a/c/h1/x;)V
2020-07-08 16:44:49 +00:00
:cond_0
new-instance v4, Lcom/google/android/exoplayer2/upstream/FileDataSource;
invoke-direct {v4}, Lcom/google/android/exoplayer2/upstream/FileDataSource;-><init>()V
new-instance v5, Lcom/google/android/exoplayer2/upstream/cache/CacheDataSink;
iget-wide v6, p0, Lf/a/g/j;->b:J
invoke-direct {v5, v2, v6, v7}, Lcom/google/android/exoplayer2/upstream/cache/CacheDataSink;-><init>(Lcom/google/android/exoplayer2/upstream/cache/Cache;J)V
const/4 v7, 0x0
const/4 v6, 0x3
move-object v1, v0
2020-07-25 02:57:47 +00:00
invoke-direct/range {v1 .. v7}, Lf/h/a/c/h1/y/c;-><init>(Lcom/google/android/exoplayer2/upstream/cache/Cache;Lf/h/a/c/h1/j;Lf/h/a/c/h1/j;Lf/h/a/c/h1/h;ILf/h/a/c/h1/y/c$a;)V
2020-07-08 16:44:49 +00:00
return-object v0
2020-05-17 12:40:10 +00:00
.end method