80 lines
3.1 KiB
Smali
80 lines
3.1 KiB
Smali
.class public final Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetMedia.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;->call(Landroid/view/MenuItem;Landroid/content/Context;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $context:Landroid/content/Context;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;->this$0:Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;->$context:Landroid/content/Context;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call()V
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;->$context:Landroid/content/Context;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;->this$0:Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;
|
|
|
|
iget-object v1, v1, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;->$downloadUri:Landroid/net/Uri;
|
|
|
|
const-string v2, "downloadUri"
|
|
|
|
invoke-static {v1, v2}, Lb0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;->this$0:Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;
|
|
|
|
iget-object v3, v2, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;->$title:Ljava/lang/String;
|
|
|
|
iget-object v4, v2, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1;->$titleSubtext:Ljava/lang/String;
|
|
|
|
new-instance v5, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1$1;
|
|
|
|
invoke-direct {v5, p0}, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1$1;-><init>(Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;)V
|
|
|
|
new-instance v6, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1$2;
|
|
|
|
invoke-direct {v6, p0}, Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1$2;-><init>(Lcom/discord/widgets/media/WidgetMedia$onViewBoundOrOnResume$1$1;)V
|
|
|
|
move-object v2, v3
|
|
|
|
move-object v3, v4
|
|
|
|
move-object v4, v5
|
|
|
|
move-object v5, v6
|
|
|
|
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/io/NetworkUtils;->downloadFile(Landroid/content/Context;Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-void
|
|
.end method
|