187 lines
5.3 KiB
Smali
187 lines
5.3 KiB
Smali
.class final Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;
|
|
.super Ljava/lang/Object;
|
|
.source "AnalyticsTracker.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/utilities/analytics/AnalyticsTracker;->addAttachment(Ljava/lang/String;Ljava/lang/String;I)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/b<",
|
|
"TT;TR;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic $mimeType:Ljava/lang/String;
|
|
|
|
.field final synthetic $source:Ljava/lang/String;
|
|
|
|
.field final synthetic $totalAttachments:I
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/lang/String;Ljava/lang/String;I)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->$source:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->$mimeType:Ljava/lang/String;
|
|
|
|
iput p3, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->$totalAttachments:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->call(Lcom/discord/models/domain/ModelChannel;)Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final call(Lcom/discord/models/domain/ModelChannel;)Ljava/util/Map;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
")",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lkotlin/jvm/internal/y;
|
|
|
|
const/4 v1, 0x6
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/jvm/internal/y;-><init>(I)V
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->$source:Ljava/lang/String;
|
|
|
|
const-string v2, "source"
|
|
|
|
invoke-static {v2, v1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lkotlin/jvm/internal/y;->add(Ljava/lang/Object;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "action_type"
|
|
|
|
invoke-static {v2, v1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lkotlin/jvm/internal/y;->add(Ljava/lang/Object;)V
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->$mimeType:Ljava/lang/String;
|
|
|
|
const-string v2, "mime_type"
|
|
|
|
invoke-static {v2, v1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lkotlin/jvm/internal/y;->add(Ljava/lang/Object;)V
|
|
|
|
iget v1, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$2;->$totalAttachments:I
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "total_attachments"
|
|
|
|
invoke-static {v2, v1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lkotlin/jvm/internal/y;->add(Ljava/lang/Object;)V
|
|
|
|
sget-object v1, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Ek()V
|
|
|
|
:cond_0
|
|
invoke-static {v1, p1}, Lcom/discord/utilities/analytics/AnalyticsTracker;->access$getProperties$p(Lcom/discord/utilities/analytics/AnalyticsTracker;Lcom/discord/models/domain/ModelChannel;)[Lkotlin/Pair;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lkotlin/jvm/internal/y;->bc(Ljava/lang/Object;)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "guild_id"
|
|
|
|
invoke-static {v1, p1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Lkotlin/jvm/internal/y;->add(Ljava/lang/Object;)V
|
|
|
|
iget-object p1, v0, Lkotlin/jvm/internal/y;->bkC:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result p1
|
|
|
|
new-array p1, p1, [Lkotlin/Pair;
|
|
|
|
invoke-virtual {v0, p1}, Lkotlin/jvm/internal/y;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [Lkotlin/Pair;
|
|
|
|
invoke-static {p1}, Lkotlin/a/ad;->a([Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|