2020-11-12 02:11:44 +00:00
|
|
|
.class public final Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "AnalyticsTracker.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-11-14 03:19:56 +00:00
|
|
|
.implements Lh0/k/b;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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 = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"R:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
2020-11-14 03:19:56 +00:00
|
|
|
"Lh0/k/b<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $mimeType:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final synthetic $source:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final synthetic $totalAttachments:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;I)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$1;->$source:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$1;->$mimeType:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput p3, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$1;->$totalAttachments:I
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public 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$1;->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 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
|
|
")",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x5
|
|
|
|
|
|
|
|
new-array v0, v0, [Lkotlin/Pair;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$1;->$source:Ljava/lang/String;
|
|
|
|
|
|
|
|
new-instance v2, Lkotlin/Pair;
|
|
|
|
|
|
|
|
const-string v3, "source"
|
|
|
|
|
|
|
|
invoke-direct {v2, v3, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
new-instance v3, Lkotlin/Pair;
|
|
|
|
|
|
|
|
const-string v4, "action_type"
|
|
|
|
|
|
|
|
invoke-direct {v3, v4, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
aput-object v3, v0, v2
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$1;->$mimeType:Ljava/lang/String;
|
|
|
|
|
|
|
|
new-instance v3, Lkotlin/Pair;
|
|
|
|
|
|
|
|
const-string v4, "mime_type"
|
|
|
|
|
|
|
|
invoke-direct {v3, v4, v2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
aput-object v3, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x3
|
|
|
|
|
|
|
|
iget v2, p0, Lcom/discord/utilities/analytics/AnalyticsTracker$addAttachment$1;->$totalAttachments:I
|
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
new-instance v3, Lkotlin/Pair;
|
|
|
|
|
|
|
|
const-string/jumbo v4, "total_attachments"
|
|
|
|
|
|
|
|
invoke-direct {v3, v4, v2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
aput-object v3, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x4
|
|
|
|
|
|
|
|
const-string v2, "it"
|
|
|
|
|
2020-11-14 03:19:56 +00:00
|
|
|
invoke-static {p1, v2}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
new-instance v3, Lkotlin/Pair;
|
|
|
|
|
|
|
|
const-string v4, "guild_id"
|
|
|
|
|
|
|
|
invoke-direct {v3, v4, v2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
aput-object v3, v0, v1
|
|
|
|
|
2020-11-14 03:19:56 +00:00
|
|
|
invoke-static {v0}, Ly/h/f;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/utilities/analytics/AnalyticsUtils;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsUtils;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1}, Lcom/discord/utilities/analytics/AnalyticsUtils;->getProperties$app_productionDiscordExternalRelease(Lcom/discord/models/domain/ModelChannel;)Ljava/util/Map;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-11-14 03:19:56 +00:00
|
|
|
invoke-static {v0, p1}, Ly/h/f;->plus(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|